# HG changeset patch # User John Paul Wallington # Date 1220801945 0 # Node ID 9fe85fbeb8ebb7528abf2dbcb23dbd9dbe6db569 # Parent 638e09e8176452696aa6d39cc0f520605a9cf4f6 (ibuffer-diff-buffer-with-file-1): Shell quote buffer's filename. From Johan Euphrosine . diff -r 638e09e81764 -r 9fe85fbeb8eb lisp/ibuf-ext.el --- 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))