diff options
Diffstat (limited to 'config.org')
-rw-r--r-- | config.org | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/config.org b/config.org index 782e318..fd81816 100644 --- a/config.org +++ b/config.org | |||
@@ -4,7 +4,7 @@ | |||
4 | #+EXPORT_FILE_NAME: README.md | 4 | #+EXPORT_FILE_NAME: README.md |
5 | #+OPTIONS: toc:nil | 5 | #+OPTIONS: toc:nil |
6 | #+BANKRUPTCY_COUNT: 3 | 6 | #+BANKRUPTCY_COUNT: 3 |
7 | #+Time-stamp: <2020-12-10 17:46:10 aduckworth> | 7 | #+Time-stamp: <2020-12-10 19:54:27 acdw> |
8 | 8 | ||
9 | Let’s configure Emacs using Org mode, they said. It’ll be fun, they said. | 9 | Let’s configure Emacs using Org mode, they said. It’ll be fun, they said. |
10 | 10 | ||
@@ -1119,6 +1119,19 @@ from [[https://github.com/alphapapa/unpackaged.el#ensure-blank-lines-between-hea | |||
1119 | (add-hook 'kill-emacs-hook #'acdw/refresh-emacs-no-load) | 1119 | (add-hook 'kill-emacs-hook #'acdw/refresh-emacs-no-load) |
1120 | #+end_src | 1120 | #+end_src |
1121 | 1121 | ||
1122 | ** Ancillary scripts | ||
1123 | |||
1124 | *** emacsdc | ||
1125 | |||
1126 | A wrapper script around emacs-client that starts the daemon if it hasn’t been yet. | ||
1127 | |||
1128 | #+begin_src sh :tangle emacsdc :shebang "#!/bin/sh" | ||
1129 | if ! emacsclient -nc "$@" 2>/dev/null; then | ||
1130 | emacs --daemon | ||
1131 | emacsclient -nc "$@" | ||
1132 | fi | ||
1133 | #+end_src | ||
1134 | |||
1122 | ** License | 1135 | ** License |
1123 | :PROPERTIES: | 1136 | :PROPERTIES: |
1124 | :header-args: :tangle LICENSE :comments no | 1137 | :header-args: :tangle LICENSE :comments no |