summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-01-02 15:34:36 -0600
committerCase Duckworth2021-01-02 15:34:36 -0600
commitfd47074ff08091ec9cf3ef253b08183e26b50583 (patch)
treef05cd92c2198bf39b0b299f2f63640889022c529
parentUse org-link-minor-mode (diff)
downloademacs-fd47074ff08091ec9cf3ef253b08183e26b50583.tar.gz
emacs-fd47074ff08091ec9cf3ef253b08183e26b50583.zip
Move header-args to Property drawer
-rw-r--r--config.org5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.org b/config.org index 46eda15..eae8fe0 100644 --- a/config.org +++ b/config.org
@@ -1356,13 +1356,16 @@ I realized I didn’t need =early-init.el=, since it really only set =load-prefe
1356** Ancillary scripts 1356** Ancillary scripts
1357 1357
1358*** emacsdc 1358*** emacsdc
1359:PROPERTY:
1360:header-args: :tangle bin/emacsdc :tangle-mode (identity #o755)
1361:END:
1359 1362
1360Here's a wrapper script that'll start =emacs --daemon= if there isn't 1363Here's a wrapper script that'll start =emacs --daemon= if there isn't
1361one, and then launch =emacsclient= with the arguments. I'd recommend 1364one, and then launch =emacsclient= with the arguments. I'd recommend
1362installing with either ~ln -s bin/emacsdc $HOME/.local/bin/~, or 1365installing with either ~ln -s bin/emacsdc $HOME/.local/bin/~, or
1363adding =$HOME/.local/bin= to your =$PATH=. 1366adding =$HOME/.local/bin= to your =$PATH=.
1364 1367
1365#+BEGIN_SRC sh :tangle bin/emacsdc :mkdirp yes :shebang "#!/bin/sh" 1368#+BEGIN_SRC sh :shebang "#!/bin/sh"
1366if ! emacsclient -nc "$@" 2>/dev/null; then 1369if ! emacsclient -nc "$@" 2>/dev/null; then
1367 emacs --daemon 1370 emacs --daemon
1368 emacsclient -nc "$@" 1371 emacsclient -nc "$@"