From 99f2e353e7f1b169c52fe9cd767b97b175c88d13 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 2 Apr 2026 15:53:40 -0400 Subject: [PATCH] lisp/help.el (help-function-arglist): Fix last change --- lisp/help.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/help.el b/lisp/help.el index 1ff1f0c312d..1576fb61dc8 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -2360,7 +2360,7 @@ the same names as used in the original source code, when possible." (let ((seen nil)) ;; Advice wrappers have "catch all" args, so fetch the actual underlying ;; function to find the real arguments. Also follow aliases. - (while (and (symbolp def) (not (memq def seen))) + (while (not (memq def seen)) (push def seen) (setq def (advice--cd*r (indirect-function def))))) ;; If definition is a macro, find the function inside it.