summaryrefslogtreecommitdiff
path: root/lisp/eshell/esh-ext.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2002-03-18 14:56:35 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2002-03-18 14:56:35 +0000
commit194c8d989a246930f9f672521ff0cd1c449e65da (patch)
tree5c36326bbd954af708e278ceed9fdd6d6e05d4f1 /lisp/eshell/esh-ext.el
parent2ac75e6e1216898556a7c6b9b0b77b54c819ee29 (diff)
downloademacs-194c8d989a246930f9f672521ff0cd1c449e65da.tar.gz
(eshell-binary-suffixes): Use exec-suffixes.
Diffstat (limited to 'lisp/eshell/esh-ext.el')
-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."
:type 'hook
:group 'eshell-ext)
-(defcustom eshell-binary-suffixes
- (if (eshell-under-windows-p)
- '(".exe" ".com" ".bat" ".cmd" "")
- '(""))
+;; Maybe this should simply be a defvaralias ? -stef
+(defcustom eshell-binary-suffixes exec-suffixes
"*A list of suffixes used when searching for executable files."
:type '(repeat string)
:group 'eshell-ext)