changeset 37322:d27be94466e0

(eshell-command-aliased-p): `assoc' was required where `member' was being used.
author John Wiegley <johnw@newartisans.com>
date Wed, 11 Apr 2001 15:49:13 +0000
parents 8bc0bd3d9924
children 11b33211a908
files lisp/eshell/em-alias.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/eshell/em-alias.el	Wed Apr 11 14:29:29 2001 +0000
+++ b/lisp/eshell/em-alias.el	Wed Apr 11 15:49:13 2001 +0000
@@ -156,7 +156,7 @@
   (add-to-list 'eshell-complex-commands 'eshell-command-aliased-p))
 
 (defun eshell-command-aliased-p (name)
-  (member name eshell-command-aliases-list))
+  (assoc name eshell-command-aliases-list))
 
 (defun eshell/alias (&optional alias &rest definition)
   "Define an ALIAS in the user's alias list using DEFINITION."