aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorJohn Wiegley2001-04-11 15:49:13 +0000
committerJohn Wiegley2001-04-11 15:49:13 +0000
commit00fbbecd9663910bd85b9efb818103c545b101bb (patch)
tree47ed67c5271eac84b2f40201efbb4d1c4713a887 /lisp/eshell
parent30cb0001ff11a7b5f4720c7522d6dfaf447b4b78 (diff)
downloademacs-00fbbecd9663910bd85b9efb818103c545b101bb.tar.gz
emacs-00fbbecd9663910bd85b9efb818103c545b101bb.zip
(eshell-command-aliased-p): `assoc' was required where `member' was
being used.
Diffstat (limited to 'lisp/eshell')
-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
156 (add-to-list 'eshell-complex-commands 'eshell-command-aliased-p)) 156 (add-to-list 'eshell-complex-commands 'eshell-command-aliased-p))
157 157
158(defun eshell-command-aliased-p (name) 158(defun eshell-command-aliased-p (name)
159 (member name eshell-command-aliases-list)) 159 (assoc name eshell-command-aliases-list))
160 160
161(defun eshell/alias (&optional alias &rest definition) 161(defun eshell/alias (&optional alias &rest definition)
162 "Define an ALIAS in the user's alias list using DEFINITION." 162 "Define an ALIAS in the user's alias list using DEFINITION."