]> git.eshelyaron.com Git - emacs.git/commitdiff
(insert-directory): Use \ before insert-directory-program
authorRichard M. Stallman <rms@gnu.org>
Fri, 31 Mar 1995 01:56:18 +0000 (01:56 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 31 Mar 1995 01:56:18 +0000 (01:56 +0000)
to ignore shell aliasing.

lisp/files.el

index 6abe596ef014f0bac71daba6129ded810988fbbf..0003bd533fe4c3e6456157bde135be083b268a54 100644 (file)
@@ -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