]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/help.el (help-function-arglist): Don't `substitute-command-keys`
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 26 Mar 2024 21:41:42 +0000 (17:41 -0400)
committerEshel Yaron <me@eshelyaron.com>
Wed, 27 Mar 2024 20:38:48 +0000 (21:38 +0100)
(cherry picked from commit 48b6e6bd80f2783c6320db1f7e8fb0b3f44e2e9d)

lisp/help.el

index 1610707e7b9e607908755a2dfb90c303cd71422c..47992776bb71ba2b9dae4682ffe17092d20228fd 100644 (file)
@@ -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)))))