Mercurial > emacs
comparison lisp/eshell/esh-ext.el @ 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 | 203308d314de |
children | 536e5590a586 |
comparison
equal
deleted
inserted
replaced
44001:54ecf0606394 | 44002:a27b6cb6448d |
---|---|
46 (defcustom eshell-ext-load-hook '(eshell-ext-initialize) | 46 (defcustom eshell-ext-load-hook '(eshell-ext-initialize) |
47 "*A hook that gets run when `eshell-ext' is loaded." | 47 "*A hook that gets run when `eshell-ext' is loaded." |
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) |
58 | 56 |
59 (defcustom eshell-force-execution nil | 57 (defcustom eshell-force-execution nil |