mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(eshell-find-alias-function): Call symbol-file with `defun'.
This commit is contained in:
parent
c044263ba1
commit
5cb345c184
1 changed files with 1 additions and 1 deletions
|
|
@ -1285,7 +1285,7 @@ COMMAND may result in an alias being executed, or a plain command."
|
|||
(defun eshell-find-alias-function (name)
|
||||
"Check whether a function called `eshell/NAME' exists."
|
||||
(let* ((sym (intern-soft (concat "eshell/" name)))
|
||||
(file (symbol-file sym)))
|
||||
(file (symbol-file sym 'defun)))
|
||||
;; If the function exists, but is defined in an eshell module
|
||||
;; that's not currently enabled, don't report it as found
|
||||
(if (and file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue