diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2023-01-18 17:56:45 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2023-01-18 17:56:45 +0100 |
| commit | 391e76a256aeec6b9e4cbd733088f30c677d965b (patch) | |
| tree | f82f4100939838b9bca0ff8fab83d69ba1e9f90c /docs | |
| parent | f8c7e795959097e20d99e9124d42364b93906cf6 (diff) | |
Teach sleeping editor about "+L[:C]" argument preceding filename
Closes #120.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/with-editor.org | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/with-editor.org b/docs/with-editor.org index d1c1a32..3e7032f 100644 --- a/docs/with-editor.org +++ b/docs/with-editor.org @@ -120,14 +120,14 @@ it receives a signal. #+BEGIN_SRC emacs-lisp "sh -c '\ - echo \"WITH-EDITOR: $$ OPEN $0 IN $(pwd)\"; \ + echo \"WITH-EDITOR: $$ OPEN $0$1 IN $(pwd)\"; \ trap \"exit 0\" USR1; \ trap \"exit 1\" USR2; \ while true; do sleep 1; done'" #+END_SRC Note that the unit separator character () right after the file - name ($0) is required. + name ($0) is required. TODO Also note that using this alternative implementation leads to a delay of up to a second. The delay can be shortened by replacing |
