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

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

[elpa] externals/transient db815604b3 025/366: Mention that infixes are


From: Jonas Bernoulli
Subject: [elpa] externals/transient db815604b3 025/366: Mention that infixes are suffixes
Date: Tue, 25 Jan 2022 18:54:23 -0500 (EST)

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

    Mention that infixes are suffixes
---
 docs/transient.org  | 17 ++++++++++++++---
 docs/transient.texi | 17 ++++++++++++++---
 2 files changed, 28 insertions(+), 6 deletions(-)

diff --git a/docs/transient.org b/docs/transient.org
index 39adab56f4..85bbfacca4 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-22-g101c0ae+1)
+#+SUBTITLE: for version 0.1.0 (v0.1.0-23-g6467626+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-22-g101c0ae+1).
+This manual is for Transient version 0.1.0 (v0.1.0-23-g6467626+1).
 
 #+BEGIN_QUOTE
 Copyright (C) 2018-2019 Jonas Bernoulli <jonas@bernoul.li>
@@ -569,7 +569,10 @@ The following functions share a few arguments:
 
 - PREFIX is a transient prefix command, a symbol.
 - SUFFIX is a transient infix or suffix specification in the same form
-  as expected by ~define-transient-command~.  See [[*Suffix Specifications]].
+  as expected by ~define-transient-command~.  Note that an infix is a
+  special kind of suffix.  Depending on context "suffixes" means
+  "suffixes (including infixes)" or "non-infix suffixes".  Here it
+  means the former.  See [[*Suffix Specifications]].
 - LOC is a command, a key vector or a key description (a string as
   returned by ~key-description~).
 
@@ -770,6 +773,10 @@ The same form is also used when later binding additional 
commands
 using functions such as ~transient-insert-suffix~, see [[*Modifying
 Existing Transients]].
 
+Note that an infix is a special kind of suffix. Depending on context
+"suffixes" means "suffixes (including infixes)" or "non-infix
+suffixes".  Here it means the former.
+
 Suffix specifications have this form:
 
 #+BEGIN_SRC emacs-lisp
@@ -830,6 +837,10 @@ Slots]].
 
 ** Defining Suffix and Infix Commands
 
+Note that an infix is a special kind of suffix. Depending on context
+"suffixes" means "suffixes (including infixes)" or "non-infix
+suffixes".
+
 - Macro: define-suffix-command name arglist [docstring] [keyword value]... 
body...
 
   This macro defines NAME as a transient suffix command.
diff --git a/docs/transient.texi b/docs/transient.texi
index 8a4e7db8d6..0aa2e2ccbb 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-22-g101c0ae+1)
+@subtitle for version 0.1.0 (v0.1.0-23-g6467626+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-22-g101c0ae+1).
+This manual is for Transient version 0.1.0 (v0.1.0-23-g6467626+1).
 
 @quotation
 Copyright (C) 2018-2019 Jonas Bernoulli <jonas@@bernoul.li>
@@ -733,7 +733,10 @@ PREFIX is a transient prefix command, a symbol.
 
 @item
 SUFFIX is a transient infix or suffix specification in the same form
-as expected by @code{define-transient-command}.  See @ref{Suffix 
Specifications}.
+as expected by @code{define-transient-command}.  Note that an infix is a
+special kind of suffix.  Depending on context "suffixes" means
+"suffixes (including infixes)" or "non-infix suffixes".  Here it
+means the former.  See @ref{Suffix Specifications}.
 
 @item
 LOC is a command, a key vector or a key description (a string as
@@ -967,6 +970,10 @@ individual suffix command.
 The same form is also used when later binding additional commands
 using functions such as @code{transient-insert-suffix}, see @ref{Modifying 
Existing Transients}.
 
+Note that an infix is a special kind of suffix. Depending on context
+"suffixes" means "suffixes (including infixes)" or "non-infix
+suffixes".  Here it means the former.
+
 Suffix specifications have this form:
 
 @lisp
@@ -1039,6 +1046,10 @@ argument supported by the constructor of that class.  
See @ref{Suffix Slots}.
 @node Defining Suffix and Infix Commands
 @section Defining Suffix and Infix Commands
 
+Note that an infix is a special kind of suffix. Depending on context
+"suffixes" means "suffixes (including infixes)" or "non-infix
+suffixes".
+
 @defmac define-suffix-command name arglist [docstring] [keyword value]@dots{} 
body@dots{}
 
 This macro defines NAME as a transient suffix command.



reply via email to

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