branch: externals/transient
commit c04d1dc76611b19e3b4c9f63e79a7a02aa320685
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
manual: Add some missing @code
---
docs/transient.org | 6 +++---
docs/transient.texi | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/docs/transient.org b/docs/transient.org
index ea89892758..9577541e72 100644
--- a/docs/transient.org
+++ b/docs/transient.org
@@ -898,11 +898,11 @@ The following functions share a few arguments:
These functions operate on the information stored in the
~transient--layout~ property of the {{{var(PREFIX)}}} symbol. Elements in that
tree are not objects but have the form {{{codevar((CLASS PLIST) for
suffixes)}}} and
-[CLASS PLIST CHILDREN] for groups. At the root of the tree is an
-element [N nil CHILDREN], where N is the version of the layout format,
+~[CLASS PLIST CHILDREN]~ for groups. At the root of the tree is an
+element ~[N Nil CHILDREN]~, where ~N~ is the version of the layout format,
currently and hopefully for a long time 2. While that element looks
like a group vector, that element does not count when identifying a
-group using a coordinate vector, i.e., [0] is its first child, not the
+group using a coordinate vector, i.e., ~[0]~ is its first child, not the
root element itself.
- Function: transient-insert-suffix prefix loc suffix &optional keep-other ::
diff --git a/docs/transient.texi b/docs/transient.texi
index 5188b172d7..b20c0ab4aa 100644
--- a/docs/transient.texi
+++ b/docs/transient.texi
@@ -1053,11 +1053,11 @@ the function @code{transient--get-layout}.
These functions operate on the information stored in the
@code{transient--layout} property of the @var{PREFIX} symbol. Elements in that
tree are not objects but have the form @code{(@var{CLASS} @var{PLIST}) for
suffixes} and
-[CLASS PLIST CHILDREN] for groups. At the root of the tree is an
-element [N nil CHILDREN], where N is the version of the layout format,
+@code{[CLASS PLIST CHILDREN]} for groups. At the root of the tree is an
+element @code{[N Nil CHILDREN]}, where @code{N} is the version of the layout
format,
currently and hopefully for a long time 2. While that element looks
like a group vector, that element does not count when identifying a
-group using a coordinate vector, i.e., [0] is its first child, not the
+group using a coordinate vector, i.e., @code{[0]} is its first child, not the
root element itself.
@defun transient-insert-suffix prefix loc suffix &optional keep-other