Mercurial > emacs
changeset 5386:a91748bee657
(diff): Call shell-quote-argument.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 31 Dec 1993 09:26:43 +0000 |
parents | 53077bf7c718 |
children | f99b0175322e |
files | lisp/diff.el |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
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