Agenda: When in separate frame, mark the frame dedicated.
Henry Atting writes: > If org agenda is displayed in an other frame then windows aren*t > restored when quitting, I have to kill the frame manually. I > really would like it to behave like e.g. gnus-other-frame which > automatically kills his frame on quitting.
This commit is contained in:
parent
fa36f186b2
commit
bbc27c011a
|
@ -1,5 +1,8 @@
|
|||
2009-08-27 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-agenda.el (org-prepare-agenda): When creating a new frame
|
||||
for the agenda, make the window dedicated.
|
||||
|
||||
* org-agenda.el (org-agenda-mode-map): New keys for time motion.
|
||||
|
||||
* org-table.el (org-table-align): Change the order of reinsertion
|
||||
|
|
|
@ -2438,7 +2438,8 @@ bind it in the options section.")
|
|||
((equal org-agenda-window-setup 'other-window)
|
||||
(org-switch-to-buffer-other-window abuf))
|
||||
((equal org-agenda-window-setup 'other-frame)
|
||||
(switch-to-buffer-other-frame abuf))
|
||||
(switch-to-buffer-other-frame abuf)
|
||||
(set-window-dedicated-p (selected-window) t))
|
||||
((equal org-agenda-window-setup 'reorganize-frame)
|
||||
(delete-other-windows)
|
||||
(org-switch-to-buffer-other-window abuf))))
|
||||
|
|
Loading…
Reference in New Issue