projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4336d7e
)
Fix function help for advised aliases (bug#64797)
author
Mattias Engdegård
<mattiase@acm.org>
Thu, 27 Jul 2023 14:13:54 +0000
(16:13 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Thu, 27 Jul 2023 15:09:30 +0000
(17:09 +0200)
* 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 in
d30fde6b0cc
.
Reported by Michael Heerdegen.
lisp/help-fns.el
patch
|
blob
|
history
diff --git
a/lisp/help-fns.el
b/lisp/help-fns.el
index b9388b453970cd49a65534ab4eac3d215199db6b..3dd5c79015705773d254611376d0004e8591a6aa 100644
(file)
--- a/
lisp/help-fns.el
+++ b/
lisp/help-fns.el
@@
-1003,7
+1003,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)))
+ (or (car (function-alias-p real-function))
+ real-function))
((subrp def) (intern (subr-name def)))
(t def))))