From e881070890d2603570af9939a4619234379758e5 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Mon, 13 Jun 2016 13:14:35 -0400 Subject: [PATCH] * 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 496deb5c4f1..26d8839f7cb 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -514,7 +514,8 @@ FILE is the file where FUNCTION was probably defined." real-function)) (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) -- 2.39.2