emacs-diffs
[Top][All Lists]
Advanced

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

master bd3ecfe 2/2: Run substitute-command-keys on shortdoc section head


From: Stefan Kangas
Subject: master bd3ecfe 2/2: Run substitute-command-keys on shortdoc section headings
Date: Wed, 28 Oct 2020 09:47:28 -0400 (EDT)

branch: master
commit bd3ecfef8429aaced824286074abc7f77ef0c98f
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Run substitute-command-keys on shortdoc section headings
    
    * lisp/emacs-lisp/shortdoc.el (shortdoc-display-group): Run
    substitute-command-keys on section headings before displaying.
---
 lisp/emacs-lisp/shortdoc.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el
index 39ba7ee..1231e79 100644
--- a/lisp/emacs-lisp/shortdoc.el
+++ b/lisp/emacs-lisp/shortdoc.el
@@ -1075,7 +1075,7 @@ There can be any number of :example/:result elements."
          (unless (bobp)
            (insert "\n"))
          (insert (propertize
-                  (concat data "\n\n")
+                  (concat (substitute-command-keys data) "\n\n")
                   'face '(variable-pitch (:height 1.3 :weight bold)))))
         ;; There may be functions not yet defined in the data.
         ((fboundp (car data))



reply via email to

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