Use only-window, instead of other-frame to avoid weird frame switches

With `other-frame` org moves to the files open in other frames when I
take action on them through the agenda window. This is undesirable.
This commit is contained in:
Vedang Manerikar 2024-12-12 08:20:40 +05:30
parent 1f06c2b0d1
commit 60daf6e0c6
2 changed files with 2 additions and 2 deletions

View file

@ -4368,7 +4368,7 @@ title of the task, and the like. The documentation string of
(setq org-agenda-show-all-dates t)
(setq org-agenda-show-outline-path nil)
;; Show me only the Agenda window when I ask for Agenda
(setq org-agenda-window-setup 'other-frame)
(setq org-agenda-window-setup 'only-window)
(setq org-agenda-skip-comment-trees t)
(setq org-agenda-menu-show-matcher t)
(setq org-agenda-menu-two-columns nil)

View file

@ -405,7 +405,7 @@ If WEEK-NUM is not provided, use the current week."
(setq org-agenda-show-all-dates t)
(setq org-agenda-show-outline-path nil)
;; Show me only the Agenda window when I ask for Agenda
(setq org-agenda-window-setup 'other-frame)
(setq org-agenda-window-setup 'only-window)
(setq org-agenda-skip-comment-trees t)
(setq org-agenda-menu-show-matcher t)
(setq org-agenda-menu-two-columns nil)