summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-alias.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2001-04-11 15:49:13 +0000
committerJohn Wiegley <johnw@newartisans.com>2001-04-11 15:49:13 +0000
commit00fbbecd9663910bd85b9efb818103c545b101bb (patch)
tree47ed67c5271eac84b2f40201efbb4d1c4713a887 /lisp/eshell/em-alias.el
parent30cb0001ff11a7b5f4720c7522d6dfaf447b4b78 (diff)
downloademacs-00fbbecd9663910bd85b9efb818103c545b101bb.tar.gz
(eshell-command-aliased-p): `assoc' was required where `member' was
being used.
Diffstat (limited to 'lisp/eshell/em-alias.el')
-rw-r--r--lisp/eshell/em-alias.el2
1 files changed, 1 insertions, 1 deletions
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."