[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/transient b49e79df00 04/14: manual: Use new "codevar" m
From: |
Jonas Bernoulli |
Subject: |
[elpa] externals/transient b49e79df00 04/14: manual: Use new "codevar" macro |
Date: |
Sat, 6 Aug 2022 10:35:51 -0400 (EDT) |
branch: externals/transient
commit b49e79df00d1ab4837def3fc354fa723b7ff6a18
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
manual: Use new "codevar" 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 acfbd0fdcf..92cfc92bae 100644
--- a/docs/.orgconfig
+++ b/docs/.orgconfig
@@ -9,5 +9,6 @@
#+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))))
+#+macro: codevar (eval (let (case-fold-search) (format
"@@texinfo:@code{@@%s@@texinfo:}@@" (replace-regexp-in-string
"\\([A-Z][A-Z-]+\\)" "@@texinfo:@var{@@\\&@@texinfo:}@@" $1 t))))
#+language: en
diff --git a/docs/transient.org b/docs/transient.org
index d23b8e1d33..ff4e35aaf0 100644
--- a/docs/transient.org
+++ b/docs/transient.org
@@ -540,9 +540,9 @@ Also see [[* Common Suffix Commands]].
This option specifies the action used to display the transient popup
buffer. The transient popup buffer is displayed in a window using
- ~(display-buffer BUFFER transient-display-buffer-action)~.
+ {{{codevar((display-buffer BUFFER transient-display-buffer-action))}}}.
- The value of this option has the form ~(FUNCTION . ALIST)~,
+ The value of this option has the form {{{codevar((FUNCTION . ALIST))}}},
where {{{var(FUNCTION)}}} is a function or a list of functions. Each such
function should accept two arguments: a buffer to display and an
alist of the same form as {{{var(ALIST)}}}. See [[info:elisp#Choosing
Window]],
@@ -771,7 +771,7 @@ The following functions share a few arguments:
These functions operate on the information stored in the
~transient--layout~ property of the {{{var(PREFIX)}}} symbol. Suffix entries
in
-that tree are not objects but have the form ~(LEVEL CLASS PLIST)~, where
+that tree are not objects but have the form {{{codevar((LEVEL CLASS
PLIST))}}}, where
{{{var(PLIST)}}} should set at least ~:key~, ~:description~ and ~:command~.
- Function: transient-insert-suffix prefix loc suffix &optional keep-other ::
diff --git a/docs/transient.texi b/docs/transient.texi
index 34589c92f6..2d06cefcf3 100644
--- a/docs/transient.texi
+++ b/docs/transient.texi
@@ -708,9 +708,9 @@ is non-@code{nil}, then the following features are
available:
@defopt transient-display-buffer-action
This option specifies the action used to display the transient popup
buffer. The transient popup buffer is displayed in a window using
-@code{(display-buffer BUFFER transient-display-buffer-action)}.
+@code{(display-buffer @var{BUFFER} transient-display-buffer-action)}.
-The value of this option has the form @code{(FUNCTION . ALIST)},
+The value of this option has the form @code{(@var{FUNCTION} . @var{ALIST})},
where @var{FUNCTION} is a function or a list of functions. Each such
function should accept two arguments: a buffer to display and an
alist of the same form as @var{ALIST}. See @ref{Choosing Window,,,elisp,},
@@ -939,7 +939,7 @@ at the definition of the transient prefix command.
These functions operate on the information stored in the
@code{transient--layout} property of the @var{PREFIX} symbol. Suffix entries
in
-that tree are not objects but have the form @code{(LEVEL CLASS PLIST)}, where
+that tree are not objects but have the form @code{(@var{LEVEL} @var{CLASS}
@var{PLIST})}, where
@var{PLIST} should set at least @code{:key}, @code{:description} and
@code{:command}.
@defun transient-insert-suffix prefix loc suffix &optional keep-other
- [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 <=
- [elpa] externals/transient 86b24ebd76 03/14: manual: Use new "kbdvar" macro, Jonas Bernoulli, 2022/08/06
- [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