From 00fbbecd9663910bd85b9efb818103c545b101bb Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 11 Apr 2001 15:49:13 +0000 Subject: [PATCH] (eshell-command-aliased-p): `assoc' was required where `member' was being used. --- lisp/eshell/em-alias.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." -- 2.39.5