changeset 98077:9fe85fbeb8eb

(ibuffer-diff-buffer-with-file-1): Shell quote buffer's filename. From Johan Euphrosine <proppy@aminche.com>.
author John Paul Wallington <jpw@pobox.com>
date Sun, 07 Sep 2008 15:39:05 +0000
parents 638e09e81764
children 673e5f97e402
files lisp/ibuf-ext.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ibuf-ext.el	Sun Sep 07 14:16:15 2008 +0000
+++ b/lisp/ibuf-ext.el	Sun Sep 07 15:39:05 2008 +0000
@@ -1337,7 +1337,7 @@
 		       ;; 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))