mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
Fix function help for advised aliases (bug#64797)
* lisp/help-fns.el (help-fns--analyze-function): For aliases, use the base function name if at the end of the chain. This fixes a regression introduced ind30fde6b0c
. Reported by Michael Heerdegen. (cherry picked from commit024bd1f090
)
This commit is contained in:
parent
71419a60c3
commit
96d52f8944
@ -995,7 +995,8 @@ Returns a list of the form (REAL-FUNCTION DEF ALIASED REAL-DEF)."
|
||||
(symbol-name function)))))))
|
||||
(real-def (cond
|
||||
((and aliased (not (subrp def)))
|
||||
(car (function-alias-p real-function t)))
|
||||
(or (car (function-alias-p real-function))
|
||||
real-function))
|
||||
((subrp def) (intern (subr-name def)))
|
||||
(t def))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user