]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/help-fns.el (describe-function-1):
authorTino Calancha <f92capac@gmail.com>
Tue, 7 Jun 2016 20:42:59 +0000 (16:42 -0400)
committerGlenn 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

index 6e8a108b5068d9767e73e25b531638ec168c34b2..496deb5c4f1cca4be80599cb9b6015848bb93c4c 100644 (file)
@@ -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)