summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2020-12-10 00:28:08 -0600
committerCase Duckworth2020-12-10 00:28:08 -0600
commit1140f39cd6a2fb38376f7f0f096f48ddcd235bf4 (patch)
tree210b946e390e3c77d709b54afd6a04d7c4b2bf87
parentAdd numbers to org-mode outline (diff)
downloademacs-1140f39cd6a2fb38376f7f0f096f48ddcd235bf4.tar.gz
emacs-1140f39cd6a2fb38376f7f0f096f48ddcd235bf4.zip
Remove keymap to tangle, but tangle on quit
-rw-r--r--config.org15
1 files changed, 9 insertions, 6 deletions
diff --git a/config.org b/config.org index 0eba73c..51fb369 100644 --- a/config.org +++ b/config.org
@@ -924,6 +924,15 @@ I’ve put org mode under Applications, as opposed to Writing, because it’s m
924 (byte-compile-file f (not disable-load)))))))))) 924 (byte-compile-file f (not disable-load))))))))))
925 #+end_src 925 #+end_src
926 926
927*** Add a hook to tangle when quitting
928
929#+begin_src emacs-lisp
930 (defun acdw/refresh-emacs-no-load ()
931 (refresh-emacs t))
932
933 (add-hook 'kill-emacs-hook #'acdw/refresh-emacs-no-load)
934#+end_src
935
927** License 936** License
928 :PROPERTIES: 937 :PROPERTIES:
929 :header-args: :tangle LICENSE :comments no 938 :header-args: :tangle LICENSE :comments no
@@ -959,9 +968,3 @@ I’ve put org mode under Applications, as opposed to Writing, because it’s m
959 GPL, for what should be fairly obvious reasons. To that, I say: 968 GPL, for what should be fairly obvious reasons. To that, I say:
960 969
961 *SUE ME, RMS!* 970 *SUE ME, RMS!*
962
963** Keymaps for /this/ file
964
965This isn’t working … yet.
966
967#+KEYMAP: C-c C-v t | refresh-emacs