Commit c9cebcb1 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(diff): Call shell-quote-argument.

parent 8af7df60
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment