From ca8d5065d22d562aaafc00a3283e63a4b8153a65 Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Wed, 18 Mar 2020 09:31:55 +0100 Subject: [PATCH] Auto save org-mode buffers after 30 seconds --- emacs/.config/doom/configuration.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs/.config/doom/configuration.org b/emacs/.config/doom/configuration.org index 5a87a26..a722953 100644 --- a/emacs/.config/doom/configuration.org +++ b/emacs/.config/doom/configuration.org @@ -91,6 +91,11 @@ When moving entries up and down in the buffer use `j` and `k` instead of `↑` a ) #+END_SRC +Auto save org-mode files +#+BEGIN_SRC emacs-lisp +(add-hook 'auto-save-hook 'org-save-all-org-buffers) +#+END_SRC + - Set default org directories - When task is set to `DONE` [[https://orgmode.org/manual/Closing-items.html][add timestamp and give the opportunity to type in a note]] - Show images in buffers as default