summaryrefslogtreecommitdiff
path: root/docs/transient.org
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2025-11-08 14:31:22 +0100
committerJonas Bernoulli <jonas@bernoul.li>2025-11-08 14:36:19 +0100
commit05bf8b3cee7205d7448c52742c969015f9f41f73 (patch)
treed4ae1bdbc0b16ae07a04f272b35775dbd7a7102a /docs/transient.org
parentd192872e589f80a958bfc715df9f61ee9192aaa5 (diff)
manual: Add some missing @code around booleans
Diffstat (limited to 'docs/transient.org')
-rw-r--r--docs/transient.org14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/transient.org b/docs/transient.org
index 94031d2..ea89892 100644
--- a/docs/transient.org
+++ b/docs/transient.org
@@ -1542,16 +1542,16 @@ its value can be accessed using ~transient-args~.
This function returns the scope of the active or current transient
prefix command.
- If optional PREFIXES and CLASSES are both nil, return the scope of
+ If optional PREFIXES and CLASSES are both ~nil~, return the scope of
the prefix currently being setup, making this variation useful, e.g.,
in ~:if*~ predicates. If no prefix is being setup, but the current
command was invoked from some prefix, then return the scope of that.
- If PREFIXES is non-nil, it must be a prefix command or a list of such
- commands. If CLASSES is non-nil, it must be a prefix class or a list
+ If PREFIXES is non-~nil~, it must be a prefix command or a list of such
+ commands. If CLASSES is non-~nil~, it must be a prefix class or a list
of such classes. When this function is called from the body or the
~interactive~ form of a suffix command, PREFIXES and/or CLASSES should
- be non-nil. If either is non-nil, try the following in order:
+ be non-~nil~. If either is non-~nil~, try the following in order:
- If the current suffix command was invoked from a prefix, which
appears in PREFIXES, return the scope of that prefix.
@@ -1570,7 +1570,7 @@ its value can be accessed using ~transient-args~.
PREFIXES. This only works if that slot is set in the respective
class definition or using its `transient-init-scope' method.
- If no prefix matches, return nil.
+ If no prefix matches, return ~nil~.
** Current Suffix Command
@@ -2578,7 +2578,7 @@ and ~advice*~ slots (see [[*Slots of ~transient-suffix~]]) are defined.
The following two slots are experimental. They can also be set for a
group, in which case they apply to all suffixes in that group, except
-for suffixes that set the same slot to a non-nil value.
+for suffixes that set the same slot to a non-~nil~ value.
- ~advice~ A function used to advise the command. The advise is called
using ~(apply advice command args)~, i.e., it behaves like an "around"
@@ -2586,7 +2586,7 @@ for suffixes that set the same slot to a non-nil value.
- ~advice*~ A function used to advise the command. Unlike ~advice~, this
advises not only the command body but also its ~interactive~ spec. If
- both slots are non-nil, ~advice~ is used for the body and ~advice*~ is
+ both slots are non-~nil~, ~advice~ is used for the body and ~advice*~ is
used for the ~interactive~ form. When advising the ~interactive~ spec,
called using ~(funcall advice #'advice-eval-interactive-spec spec)~.