[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/transient 86b24ebd76 03/14: manual: Use new "kbdvar" ma
From: |
Jonas Bernoulli |
Subject: |
[elpa] externals/transient 86b24ebd76 03/14: manual: Use new "kbdvar" macro |
Date: |
Sat, 6 Aug 2022 10:35:51 -0400 (EDT) |
branch: externals/transient
commit 86b24ebd762fa0fdde8a39c443dcb19e56464882
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
manual: Use new "kbdvar" macro
---
docs/.orgconfig | 1 +
docs/transient.org | 6 +++---
docs/transient.texi | 6 +++---
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/docs/.orgconfig b/docs/.orgconfig
index df2c1b9b36..acfbd0fdcf 100644
--- a/docs/.orgconfig
+++ b/docs/.orgconfig
@@ -8,5 +8,6 @@
#+macro: version (eval (or (getenv "PACKAGE_REVDESC") (getenv
"PACKAGE_VERSION") (ignore-errors (car (process-lines "git" "describe"
"--exact"))) (ignore-errors (concat (car (process-lines "git" "describe" (if
(getenv "AMEND") "HEAD~" "HEAD"))) "+1"))))
#+macro: var @@texinfo:@var{@@$1@@texinfo:}@@
+#+macro: kbdvar (eval (format "@@texinfo:@kbd{@@%s@@texinfo:}@@" (let
(case-fold-search) (replace-regexp-in-string "<\\([a-zA-Z-]+\\)>"
"@@texinfo:@var{@@\\1@@texinfo:}@@" (replace-regexp-in-string
org-texinfo--quoted-keys-regexp "@@texinfo:@key{@@\\&@@texinfo:}@@" $1 t) t))))
#+language: en
diff --git a/docs/transient.org b/docs/transient.org
index 441dda30ec..d23b8e1d33 100644
--- a/docs/transient.org
+++ b/docs/transient.org
@@ -154,10 +154,10 @@ arguments, and previously it was invoked using those
other arguments"),
but also remembers the values of individual arguments independently.
See [[*Using History]].
-After a transient prefix command is invoked, {{{kbd(C-h <key>)}}} can be used
to
+After a transient prefix command is invoked, {{{kbdvar(C-h <KEY>)}}} can be
used to
show the documentation for the infix or suffix command that {{{var(KEY)}}} is
bound to (see [[*Getting Help for Suffix Commands]]) and infixes and
-suffixes can be removed from the transient using {{{kbd(C-x l <key>)}}}.
Infixes
+suffixes can be removed from the transient using {{{kbdvar(C-x l <KEY>)}}}.
Infixes
and suffixes that are disabled by default can be enabled the same way.
See [[*Enabling and Disabling Suffixes]].
@@ -258,7 +258,7 @@ A few shared suffix commands are available in all
transients. These
suffix commands are not shown in the popup buffer by default.
This includes the aborting commands mentioned in the previous section,
-as well as some other commands that are all bound to {{{kbd(C-x <key>)}}}.
After
+as well as some other commands that are all bound to {{{kbdvar(C-x <KEY>)}}}.
After
{{{kbd(C-x)}}} is pressed, a section featuring all these common commands is
temporarily shown in the popup buffer. After invoking one of them,
the section disappears again. Note however that one of these commands
diff --git a/docs/transient.texi b/docs/transient.texi
index 865b032c5e..34589c92f6 100644
--- a/docs/transient.texi
+++ b/docs/transient.texi
@@ -259,10 +259,10 @@ arguments, and previously it was invoked using those
other arguments"),
but also remembers the values of individual arguments independently.
See @ref{Using History}.
-After a transient prefix command is invoked, @kbd{C-h <key>} can be used to
+After a transient prefix command is invoked, @kbd{C-h @var{KEY}} can be used to
show the documentation for the infix or suffix command that @var{KEY} is
bound to (see @ref{Getting Help for Suffix Commands}) and infixes and
-suffixes can be removed from the transient using @kbd{C-x l <key>}. Infixes
+suffixes can be removed from the transient using @kbd{C-x l @var{KEY}}. Infixes
and suffixes that are disabled by default can be enabled the same way.
See @ref{Enabling and Disabling Suffixes}.
@@ -391,7 +391,7 @@ A few shared suffix commands are available in all
transients. These
suffix commands are not shown in the popup buffer by default.
This includes the aborting commands mentioned in the previous section,
-as well as some other commands that are all bound to @kbd{C-x <key>}. After
+as well as some other commands that are all bound to @kbd{C-x @var{KEY}}.
After
@kbd{C-x} is pressed, a section featuring all these common commands is
temporarily shown in the popup buffer. After invoking one of them,
the section disappears again. Note however that one of these commands
- [elpa] externals/transient updated (389d2bffff -> a5562cbc8d), Jonas Bernoulli, 2022/08/06
- [elpa] externals/transient 2c7624e9e0 01/14: manual: Use "kbd" macro explicitly, Jonas Bernoulli, 2022/08/06
- [elpa] externals/transient bcd9fbe22e 05/14: manual: Use new "dfn" macro, Jonas Bernoulli, 2022/08/06
- [elpa] externals/transient 9cd69ef226 07/14: manual: Use double quotation marks (U+201C and U+201D), Jonas Bernoulli, 2022/08/06
- [elpa] externals/transient eba78cb0b6 09/14: manual: Use more precise @dircategory, Jonas Bernoulli, 2022/08/06
- [elpa] externals/transient 1b42da2a66 10/14: manual: Update copyright notice, Jonas Bernoulli, 2022/08/06
- [elpa] externals/transient a5562cbc8d 14/14: manual: Avoid texinfo complications, Jonas Bernoulli, 2022/08/06
- [elpa] externals/transient b49e79df00 04/14: manual: Use new "codevar" macro, Jonas Bernoulli, 2022/08/06
- [elpa] externals/transient 86b24ebd76 03/14: manual: Use new "kbdvar" macro,
Jonas Bernoulli <=
- [elpa] externals/transient 5d116c7122 02/14: manual: Use new "var" macro, Jonas Bernoulli, 2022/08/06
- [elpa] externals/transient 3ff531ba13 06/14: manual: Use "verbatim" emphasis markers, Jonas Bernoulli, 2022/08/06
- [elpa] externals/transient 1be2b72980 08/14: manual: Use verbatim instead of code in diagram legends, Jonas Bernoulli, 2022/08/06
- [elpa] externals/transient 47ebcee62f 13/14: manual: Fix minor defects, Jonas Bernoulli, 2022/08/06
- [elpa] externals/transient 2a47c3271b 12/14: manual: Include GPLv3 in appendix, Jonas Bernoulli, 2022/08/06
- [elpa] externals/transient 69584bf6b3 11/14: manual: Use @insertcopying, Jonas Bernoulli, 2022/08/06