Completely redo agenda buffers when jumping to today
This allows stale buffers from previous days to be updated in one go.
This commit is contained in:
parent
60463a01e3
commit
2837712f5c
7
init.el
7
init.el
@ -789,7 +789,12 @@
|
|||||||
;; bound, resulting in some prior calls of `org-read-date' to ignore
|
;; bound, resulting in some prior calls of `org-read-date' to ignore
|
||||||
;; the hh:mm part. So let's bind this variable now to make things
|
;; the hh:mm part. So let's bind this variable now to make things
|
||||||
;; work.
|
;; work.
|
||||||
(defvar org-time-was-given nil)))
|
(defvar org-time-was-given nil)
|
||||||
|
|
||||||
|
;; Completely redo agenda buffer when jumping to today; this ensures that agenda views
|
||||||
|
;; from previous days get updated as expected.
|
||||||
|
(define-advice org-agenda-goto-today (:before () redo-all)
|
||||||
|
(org-agenda-redo-all))))
|
||||||
|
|
||||||
(use-package org-cycle
|
(use-package org-cycle
|
||||||
:autoload (org-cycle-hide-drawers)
|
:autoload (org-cycle-hide-drawers)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user