about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.org4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.org b/config.org index 3acf955..7ccbabe 100644 --- a/config.org +++ b/config.org
@@ -1194,4 +1194,8 @@ from [[https://github.com/alphapapa/unpackaged.el#org-return-dwim][unpackaged.el
1194Here's a wrapper script that'll start =emacs --daemon= if there isn't one, and then launche =emacsclient= on the arguments. I'd recommend installing with ~ln -s edit ~/.local/bin/~ or something. 1194Here's a wrapper script that'll start =emacs --daemon= if there isn't one, and then launche =emacsclient= on the arguments. I'd recommend installing with ~ln -s edit ~/.local/bin/~ or something.
1195 1195
1196#+begin_src sh :shebang "#!/bin/sh" :tangle edit 1196#+begin_src sh :shebang "#!/bin/sh" :tangle edit
1197 if ! emacsclient -nc "$@" 2>/dev/null; then
1198 emacs --daemon
1199 emacsclient -nc "$@"
1200 fi
1197#+end_src 1201#+end_src