]> git.eshelyaron.com Git - emacs.git/commitdiff
Respect text-quoting-style in (*Finder*) menus
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 21 Aug 2015 16:46:15 +0000 (09:46 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 21 Aug 2015 16:46:50 +0000 (09:46 -0700)
* lisp/info.el (info--prettify-description):
Treat description as a docstring, so that it's requoted as
per text-quoting-style.

lisp/info.el

index 1b02c3585b1761d87471cb29e5e09b5832b86319..8a43a8182aa66df4006f4c06ad946d1633522c19 100644 (file)
@@ -3664,7 +3664,7 @@ Build a menu of the possible matches."
 (defun info--prettify-description (desc)
   (if (stringp desc)
       (with-temp-buffer
-       (insert desc)
+       (insert (substitute-command-keys desc))
        (if (equal ?. (char-before))
            (delete-char -1))
        (goto-char (point-min))