diff options
author | Richard M. Stallman <rms@gnu.org> | 1993-12-31 09:26:43 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1993-12-31 09:26:43 +0000 |
commit | 78e10717d753a3c2c36aff4c2448bdb61c4c2712 (patch) | |
tree | 2237bdbf0b69190cc43a99e47ff7efbbf77d3785 /lisp/diff.el | |
parent | 3e745003102cb116b7d5ba2af92b4f3a8d9ab63f (diff) | |
download | emacs-78e10717d753a3c2c36aff4c2448bdb61c4c2712.tar.gz |
(diff): Call shell-quote-argument.
Diffstat (limited to 'lisp/diff.el')
-rw-r--r-- | lisp/diff.el | 6 |
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." (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 |