From 1140f39cd6a2fb38376f7f0f096f48ddcd235bf4 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 10 Dec 2020 00:28:08 -0600 Subject: Remove keymap to tangle, but tangle on quit --- config.org | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'config.org') 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 (byte-compile-file f (not disable-load)))))))))) #+end_src +*** Add a hook to tangle when quitting + +#+begin_src emacs-lisp + (defun acdw/refresh-emacs-no-load () + (refresh-emacs t)) + + (add-hook 'kill-emacs-hook #'acdw/refresh-emacs-no-load) +#+end_src + ** License :PROPERTIES: :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 GPL, for what should be fairly obvious reasons. To that, I say: *SUE ME, RMS!* - -** Keymaps for /this/ file - -This isn’t working … yet. - -#+KEYMAP: C-c C-v t | refresh-emacs -- cgit 1.4.1-21-gabe81