From: John Wiegley Date: Wed, 11 Apr 2001 15:49:13 +0000 (+0000) Subject: (eshell-command-aliased-p): `assoc' was required where `member' was X-Git-Tag: emacs-pretest-21.0.103~230 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=00fbbecd9663910bd85b9efb818103c545b101bb;p=emacs.git (eshell-command-aliased-p): `assoc' was required where `member' was being used. --- diff --git a/lisp/eshell/em-alias.el b/lisp/eshell/em-alias.el index a407bf5deb8..d6d1ba04092 100644 --- a/lisp/eshell/em-alias.el +++ b/lisp/eshell/em-alias.el @@ -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."