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

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

[nongnu] elpa/with-editor 3ad940c 086/140: Update documentation


From: Jonas Bernoulli
Subject: [nongnu] elpa/with-editor 3ad940c 086/140: Update documentation
Date: Fri, 6 Aug 2021 12:51:25 -0400 (EDT)

branch: elpa/with-editor
commit 3ad940ce42f5ad5ffdca72a9f47c28d40191a76b
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Update documentation
---
 with-editor.org  | 20 ++++++++++++++------
 with-editor.texi | 27 +++++++++++++++++++++------
 2 files changed, 35 insertions(+), 12 deletions(-)

diff --git a/with-editor.org b/with-editor.org
index 66406a5..00610cd 100644
--- a/with-editor.org
+++ b/with-editor.org
@@ -8,7 +8,7 @@
 #+TEXINFO_DIR_CATEGORY: Emacs
 #+TEXINFO_DIR_TITLE: With-Editor: (with-editor).
 #+TEXINFO_DIR_DESC: Using the Emacsclient as $EDITOR
-#+SUBTITLE: for version 2.7.4 (v2.7.4-2-g48e1b2d+1)
+#+SUBTITLE: for version 2.7.4 (v2.7.4-5-gac6b2e3+1)
 #+BIND: ox-texinfo+-before-export-hook ox-texinfo+-update-version-strings
 
 #+TEXINFO_DEFFN: t
@@ -30,7 +30,7 @@ additional functionality which makes it useful even for 
end-users, who
 don't use Magit or another package which uses it internally.
 
 #+TEXINFO: @noindent
-This manual is for With-Editor version 2.7.4 (v2.7.4-2-g48e1b2d+1).
+This manual is for With-Editor version 2.7.4 (v2.7.4-5-gac6b2e3+1).
 
 #+BEGIN_QUOTE
 Copyright (C) 2015-2018 Jonas Bernoulli <jonas@bernoul.li>
@@ -248,10 +248,18 @@ package]].
   call home to the current Emacs instance when they require that the
   user edits a file.
 
-  This is essentially done by establishing a local binding for
-  ~process-environment~ and changing the value of the ~$EDITOR~
-  environment variable in that scope.  This affects all asynchronous
-  processes started by forms (dynamically) inside BODY.
+  This is done by establishing a local binding for ~process-environment~
+  and changing the value of the ~EDITOR~ environment variable in that
+  scope.  This affects all (asynchronous) processes started by forms
+  (dynamically) inside BODY.
+
+  If BODY begins with a literal string, then that variable is set
+  instead of ~EDITOR~.
+
+- Macro: with-editor envvar &rest body
+
+  This macro is like ~with-editor~ instead that the ENVVAR argument is
+  required and that it is evaluated at run-time.
 
 - Function: with-editor-set-process-filter process filter
 
diff --git a/with-editor.texi b/with-editor.texi
index 4ebb1c7..436e0db 100644
--- a/with-editor.texi
+++ b/with-editor.texi
@@ -19,6 +19,7 @@ This document is distributed in the hope that it will be 
useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE@.  See the GNU
 General Public License for more details.
+
 @end quotation
 @end copying
 
@@ -30,7 +31,7 @@ General Public License for more details.
 @finalout
 @titlepage
 @title With-Editor User Manual
-@subtitle for version 2.7.4 (v2.7.4-2-g48e1b2d+1)
+@subtitle for version 2.7.4 (v2.7.4-5-gac6b2e3+1)
 @author Jonas Bernoulli
 @page
 @vskip 0pt plus 1filll
@@ -59,7 +60,7 @@ additional functionality which makes it useful even for 
end-users, who
 don't use Magit or another package which uses it internally.
 
 @noindent
-This manual is for With-Editor version 2.7.4 (v2.7.4-2-g48e1b2d+1).
+This manual is for With-Editor version 2.7.4 (v2.7.4-5-gac6b2e3+1).
 
 @quotation
 Copyright (C) 2015-2018 Jonas Bernoulli <jonas@@bernoul.li>
@@ -73,6 +74,7 @@ This document is distributed in the hope that it will be 
useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE@.  See the GNU
 General Public License for more details.
+
 @end quotation
 @end ifnottex
 
@@ -80,6 +82,7 @@ General Public License for more details.
 * Using the With-Editor package::
 * Using With-Editor as a library::
 * Debugging::
+* _::
 
 @detailmenu
 --- The Detailed Node Listing ---
@@ -316,10 +319,19 @@ used as the editor of child processes, effectively 
teaching them to
 call home to the current Emacs instance when they require that the
 user edits a file.
 
-This is essentially done by establishing a local binding for
-@code{process-environment} and changing the value of the @code{$EDITOR}
-environment variable in that scope.  This affects all asynchronous
-processes started by forms (dynamically) inside BODY@.
+This is done by establishing a local binding for @code{process-environment}
+and changing the value of the @code{EDITOR} environment variable in that
+scope.  This affects all (asynchronous) processes started by forms
+(dynamically) inside BODY@.
+
+If BODY begins with a literal string, then that variable is set
+instead of @code{EDITOR}.
+@end defmac
+
+@defmac with-editor envvar &rest body
+
+This macro is like @code{with-editor} instead that the ENVVAR argument is
+required and that it is evaluated at run-time.
 @end defmac
 
 @defun with-editor-set-process-filter process filter
@@ -347,4 +359,7 @@ in Magit, then please open a new issue at
 about your Emacs installation.  Most importantly how did you install
 Emacs and what is the output of @code{M-x with-editor-debug RET}.
 
+@node _
+@chapter _ :ignore:
+
 @bye



reply via email to

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