projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b3ed23
)
Run substitute-command-keys on shortdoc section headings
author
Stefan Kangas
<stefan@marxist.se>
Wed, 28 Oct 2020 13:46:43 +0000
(14:46 +0100)
committer
Stefan Kangas
<stefan@marxist.se>
Wed, 28 Oct 2020 13:46:43 +0000
(14:46 +0100)
* lisp/emacs-lisp/shortdoc.el (shortdoc-display-group): Run
substitute-command-keys on section headings before displaying.
lisp/emacs-lisp/shortdoc.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/shortdoc.el
b/lisp/emacs-lisp/shortdoc.el
index 39ba7ee6dbadaf5e149d36c53f3da221957cb491..1231e799eddb1f2dd417a318e2a09fcb252f9fb9 100644
(file)
--- 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))