summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2020-12-22 20:34:13 -0600
committerCase Duckworth2020-12-22 20:34:13 -0600
commit851206361bf77455ed8de3b3f704ac3fbb853f91 (patch)
treea6f6b14c0feb049d1d97445089a20e2846ddf30a
parentMove early-init.el into one block (diff)
downloademacs-851206361bf77455ed8de3b3f704ac3fbb853f91.tar.gz
emacs-851206361bf77455ed8de3b3f704ac3fbb853f91.zip
Change emacsdc header
-rw-r--r--config.org6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.org b/config.org index 639bbc4..938a072 100644 --- a/config.org +++ b/config.org
@@ -1530,9 +1530,9 @@ from [[https://karthinks.com/software/more-batteries-included-with-emacs/#regexp
1530 1530
1531*** emacsdc 1531*** emacsdc
1532 1532
1533A wrapper script around emacs-client that starts the daemon if it hasn’t been yet. 1533Here’s a wrapper script that’ll start =emacs –daemon= if there isn’t one, and then launch =emacsclient= with the arguments. I’d recommend installing with either ~ln -s bin/emacsdc $HOME/.local/bin/~, or adding =$HOME/.local/bin= to your =$PATH=.
1534 1534
1535#+begin_src sh :tangle emacsdc :shebang "#!/bin/sh" 1535#+begin_src sh :tangle bin/emacsdc :mkdirp yes :shebang "#!/bin/sh"
1536 if ! emacsclient -nc "$@" 2>/dev/null; then 1536 if ! emacsclient -nc "$@" 2>/dev/null; then
1537 emacs --daemon 1537 emacs --daemon
1538 emacsclient -nc "$@" 1538 emacsclient -nc "$@"