]> git.eshelyaron.com Git - emacs.git/commitdiff
(diff): Call shell-quote-argument.
authorRichard M. Stallman <rms@gnu.org>
Fri, 31 Dec 1993 09:26:43 +0000 (09:26 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 31 Dec 1993 09:26:43 +0000 (09:26 +0000)
lisp/diff.el

index e301aa70a6e9e31541ed218e8fb935779831c79d..82a657f4ecc9d19ebbce923be6d12d2cbceb3d69 100644 (file)
@@ -207,8 +207,10 @@ With prefix arg, prompt for diff switches."
                                      (list diff-switches)))
                                  (if (or old-alt new-alt)
                                      (list "-L" old "-L" new))
-                                 (list (or old-alt old))
-                                 (list (or new-alt new)))
+                                 (list
+                                  (shell-quote-argument (or old-alt old)))
+                                 (list
+                                  (shell-quote-argument (or new-alt new))))
                          " ")))
          (setq buf
                (compile-internal command