From b4be5598c6709b0fb35166060d959dcddef5f031 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 26 Mar 2024 17:41:42 -0400 Subject: [PATCH] * lisp/help.el (help-function-arglist): Don't `substitute-command-keys` (cherry picked from commit 48b6e6bd80f2783c6320db1f7e8fb0b3f44e2e9d) --- lisp/help.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/help.el b/lisp/help.el index 1610707e7b9..47992776bb7 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -2357,7 +2357,7 @@ the same names as used in the original source code, when possible." ((or (and (byte-code-function-p def) (integerp (aref def 0))) (subrp def) (module-function-p def)) (or (when preserve-names - (let* ((doc (condition-case nil (documentation def) (error nil))) + (let* ((doc (condition-case nil (documentation def 'raw) (error nil))) (docargs (if doc (car (help-split-fundoc doc nil)))) (arglist (if docargs (cdar (read-from-string (downcase docargs))))) -- 2.39.5