diff options
author | Jonas Bernoulli <jonas@bernoul.li> | 2018-10-08 23:42:23 +0200 |
---|---|---|
committer | Jonas Bernoulli <jonas@bernoul.li> | 2018-10-08 23:42:23 +0200 |
commit | d3b0bc766371fa6dc2f413a619f2e9717f3d1f24 (patch) | |
tree | dcbe1ca59200af61469be8ba2da9a43650b4b9d6 /with-editor.texi | |
parent | 48e1b2d1de1e8371d52450f6fe4d8e62f5d91d6a (diff) |
Update documentation
Diffstat (limited to 'with-editor.texi')
-rw-r--r-- | with-editor.texi | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/with-editor.texi b/with-editor.texi index 0cb5685..4ebb1c7 100644 --- a/with-editor.texi +++ b/with-editor.texi @@ -30,7 +30,7 @@ General Public License for more details. @finalout @titlepage @title With-Editor User Manual -@subtitle for version 2.7.4 +@subtitle for version 2.7.4 (v2.7.4-2-g48e1b2d+1) @author Jonas Bernoulli @page @vskip 0pt plus 1filll @@ -59,7 +59,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. +This manual is for With-Editor version 2.7.4 (v2.7.4-2-g48e1b2d+1). @quotation Copyright (C) 2015-2018 Jonas Bernoulli <jonas@@bernoul.li> @@ -190,15 +190,19 @@ implementation: @lisp "sh -c '\ -echo \"WITH-EDITOR: $$ OPEN $0\"; \ +echo \"WITH-EDITOR: $$ OPEN $0 IN $(pwd)\"; \ trap \"exit 0\" USR1; \ trap \"exit 1\" USR2; \ while true; do sleep 1; done'" @end lisp -This leads to a delay of up to a second. The delay can be shortened -by replacing @code{sleep 1} with @code{sleep 0.01}, or if your implementation does -not support floats, then by using @code{nanosleep 0.01} instead. +Note that the unit seperator character () right after the file +name ($0) is required. + +Also note that using this alternative implementation leads to a +delay of up to a second. The delay can be shortened by replacing +@code{sleep 1} with @code{sleep 0.01}, or if your implementation does not support +floats, then by using @code{nanosleep} instead. @end defopt @node Using With-Editor commands |