org-agenda.el: Fit agenda window when displaying a sticky agenda
* org-agenda.el (org-prepare-agenda): Fit agenda window when displaying a sticky agenda.
This commit is contained in:
parent
e20cb6f92b
commit
5590972648
|
@ -3366,6 +3366,7 @@ generating a new one."
|
|||
;; Popup existing buffer
|
||||
(org-prepare-agenda-window (get-buffer org-agenda-buffer-name))
|
||||
(message "Sticky Agenda buffer, use `r' to refresh")
|
||||
(or org-agenda-multi (org-fit-agenda-window))
|
||||
(throw 'exit nil))
|
||||
(setq org-todo-keywords-for-agenda nil)
|
||||
(setq org-drawers-for-agenda nil)
|
||||
|
|
Loading…
Reference in New Issue