]> git.eshelyaron.com Git - emacs.git/commitdiff
(ibuffer-diff-buffer-with-file-1): Shell quote buffer's filename.
authorJohn Paul Wallington <jpw@pobox.com>
Sun, 7 Sep 2008 15:39:05 +0000 (15:39 +0000)
committerJohn Paul Wallington <jpw@pobox.com>
Sun, 7 Sep 2008 15:39:05 +0000 (15:39 +0000)
From Johan Euphrosine <proppy@aminche.com>.

lisp/ibuf-ext.el

index 485a7351ff9fa4b7f34390bae84c62a70cdac406..228fdb847b01d9776806a4280dd0c4500d7224bd 100644 (file)
@@ -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))