From: John Paul Wallington Date: Sun, 7 Sep 2008 15:39:05 +0000 (+0000) Subject: (ibuffer-diff-buffer-with-file-1): Shell quote buffer's filename. X-Git-Tag: emacs-pretest-23.0.90~2970 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2751961a40a1244bd2abd40b6b5f0e02c3665eba;p=emacs.git (ibuffer-diff-buffer-with-file-1): Shell quote buffer's filename. From Johan Euphrosine . --- 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." ;; Use explicitly specified switches ,@(if (listp switches) switches (list switches)) ,@(if (or old new) - (list "-L" old + (list "-L" (shell-quote-argument old) "-L" (shell-quote-argument (format "Buffer %s" (buffer-name buffer))))) ,(shell-quote-argument (or oldtmp old))