diff options
author | Stefan Kangas <stefan@marxist.se> | 2020-10-28 14:46:43 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2020-10-28 14:46:43 +0100 |
commit | bd3ecfef8429aaced824286074abc7f77ef0c98f (patch) | |
tree | 6999adf628a14880aace5ecf005c1bdde9100530 /lisp | |
parent | 6b3ed2375ba97307905d94db099c5834e4b8e09e (diff) | |
download | emacs-bd3ecfef8429aaced824286074abc7f77ef0c98f.tar.gz emacs-bd3ecfef8429aaced824286074abc7f77ef0c98f.tar.bz2 emacs-bd3ecfef8429aaced824286074abc7f77ef0c98f.zip |
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.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/emacs-lisp/shortdoc.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el index 39ba7ee6dba..1231e799edd 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)) |