aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/diff.el
diff options
context:
space:
mode:
authorRichard M. Stallman1993-12-31 09:26:43 +0000
committerRichard M. Stallman1993-12-31 09:26:43 +0000
commitc9cebcb1e54dec2ca310cacafc45316eea0dc950 (patch)
treed91e55e54824968683902553e2571952e12d9485 /lisp/diff.el
parent8af7df607d2e0cdf57791cfe107626918b028ed4 (diff)
downloademacs-c9cebcb1e54dec2ca310cacafc45316eea0dc950.tar.gz
emacs-c9cebcb1e54dec2ca310cacafc45316eea0dc950.zip
(diff): Call shell-quote-argument.
Diffstat (limited to 'lisp/diff.el')
-rw-r--r--lisp/diff.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/diff.el b/lisp/diff.el
index e301aa70a6e..82a657f4ecc 100644
--- a/lisp/diff.el
+++ b/lisp/diff.el
@@ -207,8 +207,10 @@ With prefix arg, prompt for diff switches."
207 (list diff-switches))) 207 (list diff-switches)))
208 (if (or old-alt new-alt) 208 (if (or old-alt new-alt)
209 (list "-L" old "-L" new)) 209 (list "-L" old "-L" new))
210 (list (or old-alt old)) 210 (list
211 (list (or new-alt new))) 211 (shell-quote-argument (or old-alt old)))
212 (list
213 (shell-quote-argument (or new-alt new))))
212 " "))) 214 " ")))
213 (setq buf 215 (setq buf
214 (compile-internal command 216 (compile-internal command