diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-10-22 21:16:49 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-10-22 21:16:49 -0400 |
commit | ce4e8aaa32da1f38a00c3c1fed911112f8b48f23 (patch) | |
tree | b00822671a9c9214ba4aa9cc799b2c9f5658de50 /lisp/init-org.el | |
parent | 41eefb50482b30ec49f5b67df139296db1b7f2d6 (diff) | |
parent | c61c59b28a98573075a968666b897255ac56e67e (diff) | |
download | emacs.d-ce4e8aaa32da1f38a00c3c1fed911112f8b48f23.tar.gz |
Merge branch 'emacs24.4'
Diffstat (limited to 'lisp/init-org.el')
-rw-r--r-- | lisp/init-org.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el index ab25cf2..f856fee 100644 --- a/lisp/init-org.el +++ b/lisp/init-org.el @@ -248,16 +248,17 @@ context will be shown for above heading." ;;; Agenda -(defadvice org-agenda-list (around org-agenda-fullscreen activate) - "Start agenda in fullscreen. +(after 'org-agenda + (defadvice org-agenda-list (around org-agenda-fullscreen activate) + "Start agenda in fullscreen. After agenda loads, delete other windows. `org-agenda-restore-windows-after-quit' should non-nil to restore the previous window configuration. If `org-agenda-sticky' is non-nil, configurations with more than one window do not seem to be restored properly." - ad-do-it - (delete-other-windows)) + ad-do-it + (delete-other-windows))) (setq org-agenda-restore-windows-after-quit t org-agenda-sticky nil) |