From 2751961a40a1244bd2abd40b6b5f0e02c3665eba Mon Sep 17 00:00:00 2001 From: John Paul Wallington Date: Sun, 7 Sep 2008 15:39:05 +0000 Subject: [PATCH] (ibuffer-diff-buffer-with-file-1): Shell quote buffer's filename. From Johan Euphrosine . --- lisp/ibuf-ext.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.5