summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2020-12-02 18:42:16 -0600
committerCase Duckworth2020-12-02 18:42:16 -0600
commit4adb408bbfc064408f343073ec799678a0d1d79e (patch)
tree8cdaeb3883191d8297f269090e9824f98713777e
parentChange exec-path around (diff)
downloademacs-4adb408bbfc064408f343073ec799678a0d1d79e.tar.gz
emacs-4adb408bbfc064408f343073ec799678a0d1d79e.zip
Reorganize Appendix A and where to save scripts
Scripts now go in =emacs.d/bin/=, and there might be more of them later.
-rw-r--r--config.org6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.org b/config.org index 7c9b7b8..d429f5b 100644 --- a/config.org +++ b/config.org
@@ -1646,11 +1646,13 @@ I've just recently started (again) using mu4e. We'll see how it goes.
1646 1646
1647#+end_src 1647#+end_src
1648 1648
1649* Appendix A: ~emacsdc~ script 1649* Appendix A: Scripts
1650
1651** ~emacsdc~
1650 1652
1651Here'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 emacsdc ~/.local/bin/~ or something. Then you can set it as your ~$EDITOR~! 1653Here'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 emacsdc ~/.local/bin/~ or something. Then you can set it as your ~$EDITOR~!
1652 1654
1653#+begin_src sh :shebang "#!/bin/sh" :tangle emacsdc 1655#+begin_src sh :shebang "#!/bin/sh" :tangle bin/emacsdc
1654 if ! emacsclient -nc "$@" 2>/dev/null; then 1656 if ! emacsclient -nc "$@" 2>/dev/null; then
1655 emacs --daemon 1657 emacs --daemon
1656 emacsclient -nc "$@" 1658 emacsclient -nc "$@"