[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 e881070: * lisp/help-fns.el (describe-function-1)

From: Glenn Morris
Subject: [Emacs-diffs] emacs-25 e881070: * lisp/help-fns.el (describe-function-1): Avoid reporting advised
Date: Mon, 13 Jun 2016 17:14:47 +0000 (UTC)

branch: emacs-25
commit e881070890d2603570af9939a4619234379758e5
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * lisp/help-fns.el (describe-function-1): Avoid reporting advised
    autoloads as aliases.  (Bug#21299)
 lisp/help-fns.el |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 496deb5..26d8839 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -514,7 +514,8 @@ FILE is the file where FUNCTION was probably defined."
         (aliased (or (symbolp def)
                      ;; Advised & aliased function.
-                     (and advised (symbolp real-function))))
+                     (and advised (symbolp real-function)
+                          (not (eq 'autoload (car-safe def))))))
         (real-def (cond
                    (aliased (let ((f real-function))
                               (while (and (fboundp f)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]