diff options
Diffstat (limited to 'lisp/eshell/esh-cmd.el')
| -rw-r--r-- | lisp/eshell/esh-cmd.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/esh-cmd.el b/lisp/eshell/esh-cmd.el index 477d8b410ec..d7c65066ac6 100644 --- a/lisp/eshell/esh-cmd.el +++ b/lisp/eshell/esh-cmd.el | |||
| @@ -1285,7 +1285,7 @@ COMMAND may result in an alias being executed, or a plain command." | |||
| 1285 | (defun eshell-find-alias-function (name) | 1285 | (defun eshell-find-alias-function (name) |
| 1286 | "Check whether a function called `eshell/NAME' exists." | 1286 | "Check whether a function called `eshell/NAME' exists." |
| 1287 | (let* ((sym (intern-soft (concat "eshell/" name))) | 1287 | (let* ((sym (intern-soft (concat "eshell/" name))) |
| 1288 | (file (symbol-file sym))) | 1288 | (file (symbol-file sym 'defun))) |
| 1289 | ;; If the function exists, but is defined in an eshell module | 1289 | ;; If the function exists, but is defined in an eshell module |
| 1290 | ;; that's not currently enabled, don't report it as found | 1290 | ;; that's not currently enabled, don't report it as found |
| 1291 | (if (and file | 1291 | (if (and file |