Mercurial > emacs
diff lisp/diff.el @ 5386:a91748bee657
(diff): Call shell-quote-argument.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Fri, 31 Dec 1993 09:26:43 +0000 |
| parents | 5ca1f3073ffc |
| children | b203ef787d9c |
line wrap: on
line diff
--- a/lisp/diff.el Fri Dec 31 09:25:12 1993 +0000 +++ b/lisp/diff.el Fri Dec 31 09:26:43 1993 +0000 @@ -207,8 +207,10 @@ (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
