changeset 11160:7d4a038bc511

(insert-directory): Use \ before insert-directory-program to ignore shell aliasing.
author Richard M. Stallman <rms@gnu.org>
date Fri, 31 Mar 1995 01:56:18 +0000
parents edf66df6fbe9
children 3e309e3f0ad5
files lisp/files.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Fri Mar 31 01:48:40 1995 +0000
+++ b/lisp/files.el	Fri Mar 31 01:56:18 1995 +0000
@@ -2203,7 +2203,8 @@
 			      (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