emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 7dd9e7e: Fix eldoc bug with curved quote


From: Paul Eggert
Subject: [Emacs-diffs] master 7dd9e7e: Fix eldoc bug with curved quote
Date: Sun, 4 Jun 2017 12:13:42 -0400 (EDT)

branch: master
commit 7dd9e7e95c1e4502b7a9fd6a18211208bd2914a5
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Fix eldoc bug with curved quote
    
    * lisp/progmodes/elisp-mode.el (elisp-get-fnsym-args-string):
    Substitute quotes in documentation before returning it (Bug#27159).
---
 lisp/progmodes/elisp-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index 6c6fb92..b3f452c 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -1372,7 +1372,7 @@ or elsewhere, return a 1-line docstring."
                                (condition-case nil (documentation sym t)
                                  (invalid-function nil))
                                sym))
-                    (car doc))
+                    (substitute-command-keys (car doc)))
                    (t (help-function-arglist sym)))))
              ;; Stringify, and store before highlighting, downcasing, etc.
             (elisp--last-data-store sym (elisp-function-argstring args)



reply via email to

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