branch: externals/transient commit 08ebdbc85d8733bec30ec9b2152358be213f4dde Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
manual: Mention more additions since last release --- docs/transient.org | 16 ++++++++++++---- docs/transient.texi | 18 ++++++++++++++---- 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/docs/transient.org b/docs/transient.org index 722b817187..27b2505866 100644 --- a/docs/transient.org +++ b/docs/transient.org @@ -316,6 +316,10 @@ but it is easily accessible (see [[*Using History]]). Save the value of the active transient persistently across Emacs sessions. +- Key: C-x C-k (transient-save) :: + + Clear the set and saved value of the active transient. + - User Option: transient-values-file :: This option names the file that is used to persist the values of @@ -1673,10 +1677,10 @@ functions use ~describe-function~. ** Prefix Slots -- ~man-page~ or ~info-manual~ can be used to specify the documentation for - the prefix and its suffixes. The command ~transient-help~ uses the - method ~transient-show-help~ (which see) to lookup and use these - values. +- ~show-help~, ~man-page~ or ~info-manual~ can be used to specify the + documentation for the prefix and its suffixes. The command + ~transient-help~ uses the method ~transient-show-help~ (which see) to + lookup and use these values. - ~history-key~ If multiple prefix commands should share a single value, then this slot has to be set to the same value for all of them. You @@ -1753,6 +1757,10 @@ Also see [[*Suffix Classes]]. - ~description~ The description, either a string or a function that is called with no argument and returns a string. +- ~show-help~ A function used to display help for the suffix. If + unspecified, the prefix controls how hlep is displayed for its + suffixes. + *** Slots of ~transient-infix~ :PROPERTIES: :UNNUMBERED: notoc diff --git a/docs/transient.texi b/docs/transient.texi index 776da46c6b..d263178e37 100644 --- a/docs/transient.texi +++ b/docs/transient.texi @@ -458,6 +458,11 @@ session. @findex transient-save Save the value of the active transient persistently across Emacs sessions. + +@item @kbd{C-x C-k} (@code{transient-save}) +@kindex C-x C-k +@findex transient-save +Clear the set and saved value of the active transient. @end table @defopt transient-values-file @@ -1931,10 +1936,10 @@ the command's doc string. @itemize @item -@code{man-page} or @code{info-manual} can be used to specify the documentation for -the prefix and its suffixes. The command @code{transient-help} uses the -method @code{transient-show-help} (which see) to lookup and use these -values. +@code{show-help}, @code{man-page} or @code{info-manual} can be used to specify the +documentation for the prefix and its suffixes. The command +@code{transient-help} uses the method @code{transient-show-help} (which see) to +lookup and use these values. @item @code{history-key} If multiple prefix commands should share a single value, @@ -2029,6 +2034,11 @@ It must contain the following %-placeholders: @item @code{description} The description, either a string or a function that is called with no argument and returns a string. + +@item +@code{show-help} A function used to display help for the suffix. If +unspecified, the prefix controls how hlep is displayed for its +suffixes. @end itemize @anchor{Slots of @code{transient-infix}}