]> code.delx.au - gnu-emacs/commitdiff
* lisp/progmodes/elisp-mode.el (elisp-function-argstring): Call
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 28 May 2016 08:45:07 +0000 (10:45 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Sat, 28 May 2016 09:18:05 +0000 (11:18 +0200)
substitute-command-keys to undo help--docstring-quote. (Bug#23634)

lisp/progmodes/elisp-mode.el

index 6c6c3803f9e3ba48df6e87a9993d94eb6cbe0354..7ad88712a4d13a6e268bcc126453d349cbe16d25 100644 (file)
@@ -1558,7 +1558,8 @@ In the absence of INDEX, just call `eldoc-docstring-format-sym-doc'."
 ARGLIST is either a string, or a list of strings or symbols."
   (let ((str (cond ((stringp arglist) arglist)
                    ((not (listp arglist)) nil)
-                   (t (help--make-usage-docstring 'toto arglist)))))
+                   (t (substitute-command-keys
+                       (help--make-usage-docstring 'toto arglist))))))
     (if (and str (string-match "\\`([^ )]+ ?" str))
         (replace-match "(" t t str)
       str)))