mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 21:37:50 +00:00
manual: Fix capitalization of keys
This commit is contained in:
parent
0de818964d
commit
258996a9a6
|
@ -20736,7 +20736,7 @@ modify this GNU manual."
|
||||||
|
|
||||||
# The "kbd" macro turns KBD into @kbd{KBD}. Additionnally, it
|
# The "kbd" macro turns KBD into @kbd{KBD}. Additionnally, it
|
||||||
# encloses case-sensitive special keys (SPC, RET...) within @key{...}.
|
# encloses case-sensitive special keys (SPC, RET...) within @key{...}.
|
||||||
#+macro: kbd (eval (let ((case-fold-search nil) (regexp (regexp-opt '("SPC" "RET" "LFD" "TAB" "BS" "ESC" "DELETE" "SHIFT" "CTRL" "META" "UP" "LEFT" "RIGHT" "DOWN") 'words))) (format "@@texinfo:@kbd{@@%s@@texinfo:}@@" (replace-regexp-in-string regexp "@@texinfo:@key{@@\\&@@texinfo:}@@" $1 t))))
|
#+macro: kbd (eval (let ((case-fold-search nil) (regexp (regexp-opt '("SPC" "RET" "LFD" "TAB" "BS" "ESC" "DELETE" "SHIFT" "Ctrl" "Meta" "Alt" "Cmd" "Super" "UP" "LEFT" "RIGHT" "DOWN") 'words))) (format "@@texinfo:@kbd{@@%s@@texinfo:}@@" (replace-regexp-in-string regexp "@@texinfo:@key{@@\\&@@texinfo:}@@" $1 t))))
|
||||||
|
|
||||||
* Footnotes
|
* Footnotes
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue