diff options
| -rw-r--r-- | lisp/eshell/em-alias.el | 2 |
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." |