projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3f7ae8
)
* lisp/help-fns.el (describe-function-1):
author
Tino Calancha
<f92capac@gmail.com>
Tue, 7 Jun 2016 20:42:59 +0000
(16:42 -0400)
committer
Glenn Morris
<rgm@gnu.org>
Tue, 7 Jun 2016 20:42:59 +0000
(16:42 -0400)
Fix handling of file name for aliases. (Bug#21950)
lisp/help-fns.el
patch
|
blob
|
history
diff --git
a/lisp/help-fns.el
b/lisp/help-fns.el
index 6e8a108b5068d9767e73e25b531638ec168c34b2..496deb5c4f1cca4be80599cb9b6015848bb93c4c 100644
(file)
--- a/
lisp/help-fns.el
+++ b/
lisp/help-fns.el
@@
-526,7
+526,8
@@
FILE is the file where FUNCTION was probably defined."
(sig-key (if (subrp def)
(indirect-function real-def)
real-def))
- (file-name (find-lisp-object-file-name function def))
+ (file-name (find-lisp-object-file-name function (if aliased 'defun
+ def)))
(pt1 (with-current-buffer (help-buffer) (point)))
(beg (if (and (or (byte-code-function-p def)
(keymapp def)