* lisp/progmodes/elisp-mode.el (elisp-function-argstring): Call
substitute-command-keys to undo help--docstring-quote. (Bug#23634)
This commit is contained in:
parent
1a2ffd0236
commit
f907f98b0b
1 changed files with 2 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Reference in a new issue