emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/transient 824c684deb 108/366: Advertise current-transie


From: Jonas Bernoulli
Subject: [elpa] externals/transient 824c684deb 108/366: Advertise current-transient-suffixes less
Date: Tue, 25 Jan 2022 18:54:32 -0500 (EST)

branch: externals/transient
commit 824c684deb662f403f4d86e89e2958bcd2b1c5b5
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Advertise current-transient-suffixes less
    
    It's almost (?) always better to use the `transient-args' function.
---
 docs/transient.org  | 11 ++++-------
 docs/transient.texi | 11 ++++-------
 lisp/transient.el   |  7 ++-----
 3 files changed, 10 insertions(+), 19 deletions(-)

diff --git a/docs/transient.org b/docs/transient.org
index 2868f65080..1abd204ffe 100644
--- a/docs/transient.org
+++ b/docs/transient.org
@@ -8,7 +8,7 @@
 #+TEXINFO_DIR_CATEGORY: Emacs
 #+TEXINFO_DIR_TITLE: Transient: (transient).
 #+TEXINFO_DIR_DESC: Transient Commands
-#+SUBTITLE: for version 0.1.0 (v0.1.0-105-g0cad5eb+1)
+#+SUBTITLE: for version 0.1.0 (v0.1.0-106-g0d9a1b5+1)
 
 #+TEXINFO_DEFFN: t
 #+OPTIONS: H:4 num:4 toc:2
@@ -37,7 +37,7 @@ Calling a suffix command usually causes the transient to be 
exited
 but suffix commands can also be configured to not exit the transient.
 
 #+TEXINFO: @noindent
-This manual is for Transient version 0.1.0 (v0.1.0-105-g0cad5eb+1).
+This manual is for Transient version 0.1.0 (v0.1.0-106-g0d9a1b5+1).
 
 #+BEGIN_QUOTE
 Copyright (C) 2018-2019 Jonas Bernoulli <jonas@bernoul.li>
@@ -930,11 +930,8 @@ suffixes".
   explicitly.
 
   The BODY must begin with an ~interactive~ form that matches ARGLIST.
-  Use the function ~transient-args~ or the low-level variable
-  ~current-transient-suffixes~ if the former does not give you all the
-  required details.  This should, but does not necessarily have to be,
-  done inside the ~interactive~ form; just like for ~prefix-arg~ and
-  ~current-prefix-arg~.
+  The infix arguments are usually accessed by using ~transient-args~
+  inside ~interactive~.
 
 - Macro: define-infix-command name arglist [docstring] [keyword value]...
 
diff --git a/docs/transient.texi b/docs/transient.texi
index 8ad98bd85d..4dceb5c282 100644
--- a/docs/transient.texi
+++ b/docs/transient.texi
@@ -31,7 +31,7 @@ General Public License for more details.
 @finalout
 @titlepage
 @title Transient User and Developer Manual
-@subtitle for version 0.1.0 (v0.1.0-105-g0cad5eb+1)
+@subtitle for version 0.1.0 (v0.1.0-106-g0d9a1b5+1)
 @author Jonas Bernoulli
 @page
 @vskip 0pt plus 1filll
@@ -65,7 +65,7 @@ Calling a suffix command usually causes the transient to be 
exited
 but suffix commands can also be configured to not exit the transient.
 
 @noindent
-This manual is for Transient version 0.1.0 (v0.1.0-105-g0cad5eb+1).
+This manual is for Transient version 0.1.0 (v0.1.0-106-g0d9a1b5+1).
 
 @quotation
 Copyright (C) 2018-2019 Jonas Bernoulli <jonas@@bernoul.li>
@@ -1170,11 +1170,8 @@ argument supported by the constructor of that class.  The
 explicitly.
 
 The BODY must begin with an @code{interactive} form that matches ARGLIST@.
-Use the function @code{transient-args} or the low-level variable
-@code{current-transient-suffixes} if the former does not give you all the
-required details.  This should, but does not necessarily have to be,
-done inside the @code{interactive} form; just like for @code{prefix-arg} and
-@code{current-prefix-arg}.
+The infix arguments are usually accessed by using @code{transient-args}
+inside @code{interactive}.
 @end defmac
 
 @defmac define-infix-command name arglist [docstring] [keyword value]@dots{}
diff --git a/lisp/transient.el b/lisp/transient.el
index f65b8f3b17..8e3dbd48c9 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -656,11 +656,8 @@ The `transient-suffix' class is used if the class is not
 specified explicitly.
 
 The BODY must begin with an `interactive' form that matches
-ARGLIST.  Use the function `transient-args' or the low-level
-variable `current-transient-suffixes' if the former does not
-give you all the required details.  This should, but does not
-necessarily have to be, done inside the `interactive' form;
-just like for `prefix-arg' and `current-prefix-arg'.
+ARGLIST.  The infix arguments are usually accessed by using
+`transient-args' inside `interactive'.
 
 \(fn NAME ARGLIST [DOCSTRING] [KEYWORD VALUE]... BODY...)"
   (declare (debug (&define name lambda-list



reply via email to

[Prev in Thread] Current Thread [Next in Thread]