aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorTino Calancha2016-06-07 16:42:59 -0400
committerGlenn Morris2016-06-07 16:42:59 -0400
commit4c1370a10b63766c95ec62a85f942c41a4152244 (patch)
tree91c16af7ea83e45804410715c0089b3fbb5c7295 /lisp
parenta3f7ae80b171d7747f42e697169611a8c879f7bb (diff)
downloademacs-4c1370a10b63766c95ec62a85f942c41a4152244.tar.gz
emacs-4c1370a10b63766c95ec62a85f942c41a4152244.zip
* lisp/help-fns.el (describe-function-1):
Fix handling of file name for aliases. (Bug#21950)
Diffstat (limited to 'lisp')
-rw-r--r--lisp/help-fns.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 6e8a108b506..496deb5c4f1 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -526,7 +526,8 @@ FILE is the file where FUNCTION was probably defined."
526 (sig-key (if (subrp def) 526 (sig-key (if (subrp def)
527 (indirect-function real-def) 527 (indirect-function real-def)
528 real-def)) 528 real-def))
529 (file-name (find-lisp-object-file-name function def)) 529 (file-name (find-lisp-object-file-name function (if aliased 'defun
530 def)))
530 (pt1 (with-current-buffer (help-buffer) (point))) 531 (pt1 (with-current-buffer (help-buffer) (point)))
531 (beg (if (and (or (byte-code-function-p def) 532 (beg (if (and (or (byte-code-function-p def)
532 (keymapp def) 533 (keymapp def)