emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 f907f98: * lisp/progmodes/elisp-mode.el (elisp-fu


From: Andreas Schwab
Subject: [Emacs-diffs] emacs-25 f907f98: * lisp/progmodes/elisp-mode.el (elisp-function-argstring): Call
Date: Sat, 28 May 2016 09:18:55 +0000 (UTC)

branch: emacs-25
commit f907f98b0b159f71f24d6aa5676eff33fc2a4aca
Author: Andreas Schwab <address@hidden>
Commit: Andreas Schwab <address@hidden>

    * lisp/progmodes/elisp-mode.el (elisp-function-argstring): Call
    substitute-command-keys to undo help--docstring-quote. (Bug#23634)
---
 lisp/progmodes/elisp-mode.el |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index 6c6c380..7ad8871 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]