aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorStefan Monnier2002-03-18 14:56:35 +0000
committerStefan Monnier2002-03-18 14:56:35 +0000
commit194c8d989a246930f9f672521ff0cd1c449e65da (patch)
tree5c36326bbd954af708e278ceed9fdd6d6e05d4f1 /lisp/eshell
parent2ac75e6e1216898556a7c6b9b0b77b54c819ee29 (diff)
downloademacs-194c8d989a246930f9f672521ff0cd1c449e65da.tar.gz
emacs-194c8d989a246930f9f672521ff0cd1c449e65da.zip
(eshell-binary-suffixes): Use exec-suffixes.
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/esh-ext.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/eshell/esh-ext.el b/lisp/eshell/esh-ext.el
index d8dc05691c7..af7c240044a 100644
--- a/lisp/eshell/esh-ext.el
+++ b/lisp/eshell/esh-ext.el
@@ -48,10 +48,8 @@ loaded into memory, thus beginning a new process."
48 :type 'hook 48 :type 'hook
49 :group 'eshell-ext) 49 :group 'eshell-ext)
50 50
51(defcustom eshell-binary-suffixes 51;; Maybe this should simply be a defvaralias ? -stef
52 (if (eshell-under-windows-p) 52(defcustom eshell-binary-suffixes exec-suffixes
53 '(".exe" ".com" ".bat" ".cmd" "")
54 '(""))
55 "*A list of suffixes used when searching for executable files." 53 "*A list of suffixes used when searching for executable files."
56 :type '(repeat string) 54 :type '(repeat string)
57 :group 'eshell-ext) 55 :group 'eshell-ext)