]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix eldoc bug with curved quote
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 4 Jun 2017 16:13:15 +0000 (09:13 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 4 Jun 2017 16:13:37 +0000 (09:13 -0700)
* lisp/progmodes/elisp-mode.el (elisp-get-fnsym-args-string):
Substitute quotes in documentation before returning it (Bug#27159).

lisp/progmodes/elisp-mode.el

index 6c6fb92504060504105b5ab256dd6f240d54c37f..b3f452ca5b966a6ece2e58b37e5378ddbb855825 100644 (file)
@@ -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)