diff options
author | Jonas Bernoulli <jonas@bernoul.li> | 2018-11-13 19:45:33 +0100 |
---|---|---|
committer | Jonas Bernoulli <jonas@bernoul.li> | 2018-11-13 19:45:33 +0100 |
commit | 9dd9f176d96abc60365369de6d08c26c414ef1f3 (patch) | |
tree | f8e2d53c7c86757e2e146e8da2414f2efe632bfa /with-editor.org | |
parent | 87c96b3a7cdf9ab9477e27f1ae2010883a83a426 (diff) |
manual: Clarify with-editor-shell-command's description
The old description wasn't exactly wrong but misleading non-the-less.
Closes #60.
Diffstat (limited to 'with-editor.org')
-rw-r--r-- | with-editor.org | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/with-editor.org b/with-editor.org index 4066aba..443a615 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.8.0 +#+SUBTITLE: for version 2.8.0 (v2.8.0-2-g87c96b3+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.8.0. +This manual is for With-Editor version 2.8.0 (v2.8.0-2-g87c96b3+1). #+BEGIN_QUOTE Copyright (C) 2015-2018 Jonas Bernoulli <jonas@bernoul.li> @@ -169,10 +169,9 @@ prompt for an alternative environment variable such as ~$GIT_EDITOR~. - Command: with-editor-shell-command - This command is like ~async-shell-command~, but it runs the shell - command with the current Emacs instance exported as ~$EDITOR~. This - only has an effect if the shell command is run asynchronously, - i.e. when the command ends with ~&~. + This command is like ~shell-command~, but if the shell command ends + with ~&~ and is therefore run asynchronously, then the current Emacs + instance is exported as ~$EDITOR~. To always use these variants add this to you init file: |