From: Leo Liu Date: Mon, 30 Apr 2012 11:57:47 +0000 (+0800) Subject: * lisp/ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer X-Git-Tag: emacs-24.2.90~471^2~245 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9cc7819c6145afaa2c50c08c3073c28000fcafe3;p=emacs.git * lisp/ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer read-only error. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3f656ab999a..8e826aa69fa 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-04-30 Leo Liu + + * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer + read-only error. + 2012-04-29 Chong Yidong * follow.el (follow-calc-win-end): Rewrite to handle partial diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el index f943bd2fe58..58d38f77b66 100644 --- a/lisp/ibuf-ext.el +++ b/lisp/ibuf-ext.el @@ -1356,8 +1356,8 @@ a prefix argument reverses the meaning of that variable." (diff-sentinel (call-process shell-file-name nil (current-buffer) nil - shell-command-switch command))) - (insert "\n")))) + shell-command-switch command)) + (insert "\n"))))) (sit-for 0) (when (file-exists-p tempfile) (delete-file tempfile)))))