Revert org agenda buffers smarter.
This commit is contained in:
parent
900f8dd438
commit
2c8b03dfc6
1 changed files with 11 additions and 0 deletions
|
@ -74,6 +74,17 @@
|
||||||
org-M-RET-may-split-line '((item . nil)) ;; https://irreal.org/blog/?p=6297
|
org-M-RET-may-split-line '((item . nil)) ;; https://irreal.org/blog/?p=6297
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(defun theurgy-refresh-org-files ()
|
||||||
|
"Alternative to revert-all-org-buffers, which is a bit more intelligent."
|
||||||
|
(interactive)
|
||||||
|
(dolist (f org-agenda-files)
|
||||||
|
(with-current-buffer (find-file-noselect f t)
|
||||||
|
(revert-buffer t t))))
|
||||||
|
|
||||||
|
(theurgy-refresh-org-files)
|
||||||
|
|
||||||
|
(add-hook 'before-make-frame-hook #'theurgy-refresh-org-files)
|
||||||
|
|
||||||
;; Org modern and other interface enhancements
|
;; Org modern and other interface enhancements
|
||||||
(use-package org-modern
|
(use-package org-modern
|
||||||
:hook ((org-mode . org-modern-mode)
|
:hook ((org-mode . org-modern-mode)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue