changeset 44002:a27b6cb6448d

(eshell-binary-suffixes): Use exec-suffixes.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 18 Mar 2002 14:54:58 +0000
parents 54ecf0606394
children afbab80cfab0
files lisp/eshell/esh-ext.el
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/eshell/esh-ext.el	Mon Mar 18 14:15:01 2002 +0000
+++ b/lisp/eshell/esh-ext.el	Mon Mar 18 14:54:58 2002 +0000
@@ -48,10 +48,8 @@
   :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)