Commit 108aa1b5 authored by Richard M. Stallman's avatar Richard M. Stallman

(insert-directory): Use \ before insert-directory-program

to ignore shell aliasing.
parent 45486731
......@@ -2203,7 +2203,8 @@ If WILDCARD, it also runs the shell specified by `shell-file-name'."
(substring pattern (match-beginning 0)))
beg (1+ (match-end 0))))
(call-process shell-file-name nil t nil
"-c" (concat insert-directory-program
"-c" (concat "\\" ;; Disregard shell aliases!
insert-directory-program
" -d "
(if (stringp switches)
switches
......
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