1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-11 16:08:13 +00:00

* lisp/progmodes/elisp-mode.el (elisp-function-argstring): Call

substitute-command-keys to undo help--docstring-quote. (Bug#23634)
This commit is contained in:
Andreas Schwab 2016-05-28 10:45:07 +02:00
parent 1a2ffd0236
commit f907f98b0b

View 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)))