summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-02-11 23:28:06 -0500
committerKyle Meyer <kyle@kyleam.com>2015-02-11 23:28:06 -0500
commitf6d1f2c3b7a27eeb1ec963a851a68b0a57cb89ea (patch)
treef4ae058af2d89bf94bf46fa9a92f378954a9c628 /lisp
parent544adc43c39bdae8230205209d5893b75af3bef9 (diff)
downloademacs.d-f6d1f2c3b7a27eeb1ec963a851a68b0a57cb89ea.tar.gz
Use 'only-window' for org-agenda-window-setup
I no longer need this advice because org-agenda-window-setup now [1] takes the value 'only-window', which has the same effect. [1] 7834a1ce66d3e60b9ecf5ad04a12d76d23cfbc5c
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-org.el9
1 files changed, 1 insertions, 8 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el
index 9ce680f..3f44673 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -252,6 +252,7 @@ to
(file-expand-wildcards "~/notes/extra/*.org"))
(setq org-agenda-restore-windows-after-quit t
+ org-agenda-window-setup 'only-window
org-agenda-sticky t)
(setq org-agenda-dim-blocked-tasks nil
@@ -300,14 +301,6 @@ to
(add-hook 'org-agenda-mode-hook 'km/org-agenda-cd-and-read-dir-locals)
(add-hook 'org-agenda-finalize-hook 'km/org-agenda-store-current-span)
-(after 'org-agenda
- (defadvice org-agenda-prepare-window (after 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."
- (delete-other-windows)))
-
(defun km/org-agenda-cd-and-read-dir-locals ()
(setq default-directory "~/notes/")
(hack-local-variables))