summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
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))