removed annoying message in org autosave function

This commit is contained in:
ndwarshuis 2018-11-24 20:38:17 -05:00
parent 81ab4bb71d
commit 5ff75f1e45
1 changed files with 7 additions and 2 deletions

View File

@ -591,6 +591,11 @@ Enable some straightforward options:
- logs should go in their own drawer called "LOGBOOK"
- DONE state should log the time
#+BEGIN_SRC emacs-lisp
(defun nd/org-save-all-org-buffers ()
"Save org buffers without confirmation or message (unlike default)."
(save-some-buffers t (lambda () (derived-mode-p 'org-mode)))
(when (featurep 'org-id) (org-id-locations-save)))
(use-package org
:delight
;; source of indent-mode required here
@ -611,7 +616,7 @@ Enable some straightforward options:
org-log-done 'time)
(require 'org-protocol)
(run-at-time "00:59" 3600 'org-save-all-org-buffers))
(run-at-time "00:59" 3600 #'nd/org-save-all-org-buffers))
#+END_SRC
*** bullets
These are just so much better to read