]> git.eshelyaron.com Git - emacs.git/commitdiff
(eshell-command-aliased-p): `assoc' was required where `member' was
authorJohn Wiegley <johnw@newartisans.com>
Wed, 11 Apr 2001 15:49:13 +0000 (15:49 +0000)
committerJohn Wiegley <johnw@newartisans.com>
Wed, 11 Apr 2001 15:49:13 +0000 (15:49 +0000)
being used.

lisp/eshell/em-alias.el

index a407bf5deb8d775bba26d8e76a06309948f9dbf8..d6d1ba040925be6ab0e1018698c69fbd689f08cf 100644 (file)
@@ -156,7 +156,7 @@ command, which will automatically write them to the file named by
   (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."