Respect text-quoting-style in (*Finder*) menus

* lisp/info.el (info--prettify-description):
Treat description as a docstring, so that it's requoted as
per text-quoting-style.
This commit is contained in:
Paul Eggert 2015-08-21 09:46:15 -07:00
parent 3ea0598526
commit e967f17e5d

View 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))