branch: elpa/with-editor
commit 80586626de3fec29926f6b4b9f73f1fc04dba254
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    with-editor*: Fix documentation
---
 docs/with-editor.org  | 2 +-
 docs/with-editor.texi | 2 +-
 lisp/with-editor.el   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/with-editor.org b/docs/with-editor.org
index 9b747daac1..29f8f75843 100644
--- a/docs/with-editor.org
+++ b/docs/with-editor.org
@@ -243,7 +243,7 @@ package]].
 
 - Macro: with-editor* envvar &rest body ::
 
-  This macro is like ~with-editor~ instead that the ENVVAR argument is
+  This macro is like ~with-editor~, except 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/docs/with-editor.texi b/docs/with-editor.texi
index 98b20c0e59..18ed32d2f8 100644
--- a/docs/with-editor.texi
+++ b/docs/with-editor.texi
@@ -302,7 +302,7 @@ 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
+This macro is like @code{with-editor}, except that the ENVVAR argument is
 required and that it is evaluated at run-time.
 @end defmac
 
diff --git a/lisp/with-editor.el b/lisp/with-editor.el
index b96b9f3f2f..4835f51542 100644
--- a/lisp/with-editor.el
+++ b/lisp/with-editor.el
@@ -488,7 +488,7 @@ Modify the `process-environment' for processes started in 
BODY,
 instructing them to use the Emacsclient as editor.  ENVVAR is the
 environment variable that is exported to do so, it is evaluated
 at run-time.
-\n(fn [ENVVAR] BODY...)"
+\n(fn ENVVAR BODY...)"
   (declare (indent defun) (debug (sexp body)))
   `(let ((with-editor--envvar ,envvar)
          (process-environment process-environment))

Reply via email to