summaryrefslogtreecommitdiff
path: root/lisp/ibuf-ext.el
diff options
context:
space:
mode:
authorLeo Liu <sdl.web@gmail.com>2012-04-30 19:57:47 +0800
committerLeo Liu <sdl.web@gmail.com>2012-04-30 19:57:47 +0800
commit9cc7819c6145afaa2c50c08c3073c28000fcafe3 (patch)
tree2f762fc83eda9cee33d3e2162cf05b61d329bd73 /lisp/ibuf-ext.el
parenta706a3bca4e676dc3b6c7bb1b4a584b085364c0c (diff)
downloademacs-9cc7819c6145afaa2c50c08c3073c28000fcafe3.tar.gz
* lisp/ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
read-only error.
Diffstat (limited to 'lisp/ibuf-ext.el')
-rw-r--r--lisp/ibuf-ext.el4
1 files changed, 2 insertions, 2 deletions
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)))))