aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Paul Wallington2008-09-07 15:39:05 +0000
committerJohn Paul Wallington2008-09-07 15:39:05 +0000
commit2751961a40a1244bd2abd40b6b5f0e02c3665eba (patch)
treea80edecf1e716c5add6385e0eb91f79483731ac3
parent5b6f0284d0327a15f0e68bb4c4d354846c421dbc (diff)
downloademacs-2751961a40a1244bd2abd40b6b5f0e02c3665eba.tar.gz
emacs-2751961a40a1244bd2abd40b6b5f0e02c3665eba.zip
(ibuffer-diff-buffer-with-file-1): Shell quote buffer's filename.
From Johan Euphrosine <proppy@aminche.com>.
-rw-r--r--lisp/ibuf-ext.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el
index 485a7351ff9..228fdb847b0 100644
--- a/lisp/ibuf-ext.el
+++ b/lisp/ibuf-ext.el
@@ -1337,7 +1337,7 @@ a prefix argument reverses the meaning of that variable."
1337 ;; Use explicitly specified switches 1337 ;; Use explicitly specified switches
1338 ,@(if (listp switches) switches (list switches)) 1338 ,@(if (listp switches) switches (list switches))
1339 ,@(if (or old new) 1339 ,@(if (or old new)
1340 (list "-L" old 1340 (list "-L" (shell-quote-argument old)
1341 "-L" (shell-quote-argument 1341 "-L" (shell-quote-argument
1342 (format "Buffer %s" (buffer-name buffer))))) 1342 (format "Buffer %s" (buffer-name buffer)))))
1343 ,(shell-quote-argument (or oldtmp old)) 1343 ,(shell-quote-argument (or oldtmp old))