1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2025-01-05 11:45:52 +00:00

org-agenda.el (org-agenda-append-agenda): Fit agenda window to buffer

* org-agenda.el (org-agenda-append-agenda): Fit agenda window
to buffer.
This commit is contained in:
Bastien Guerry 2012-08-29 01:05:34 +02:00
parent db4c1454a3
commit 69e99dff07

View File

@ -2575,7 +2575,8 @@ Agenda views are separated by `org-agenda-block-separator'."
(error "Can only append from within agenda buffer"))
(let ((org-agenda-multi t))
(org-agenda)
(widen)))
(widen)
(org-agenda-fit-window-to-buffer)))
(defun org-agenda-normalize-custom-commands (cmds)
(delq nil