diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/km-org.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/init/km-org.el b/init/km-org.el index 95de5c3..255cccc 100644 --- a/init/km-org.el +++ b/init/km-org.el @@ -150,3 +150,11 @@ (setcar (rassoc '("wasysym" t) org-latex-default-packages-alist) "nointegrals") (add-to-list 'org-latex-packages-alist '("" "amsmath" t)) + +(defadvice org-agenda-list (around org-agenda-fullscreen activate) + (window-configuration-to-register :org-agenda-fullscreen) + ad-do-it + (delete-other-windows)) +(defadvice org-agenda-quit (around org-agenda-restore-screen activate) + ad-do-it + (jump-to-register :org-agenda-fullscreen)) |