From c04d1dc76611b19e3b4c9f63e79a7a02aa320685 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Sat, 8 Nov 2025 14:36:37 +0100 Subject: 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 ea89892..9577541 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 5188b17..b20c0ab 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 -- cgit v1.0