0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-25 08:32:53 +00:00

Fix Emacs 22 bug in `org-agenda-quit'

This commit is contained in:
Carsten Dominik 2009-09-03 13:53:03 +02:00
parent 79839719bf
commit c7c2ec4bc7
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2009-09-03 Carsten Dominik <carsten.dominik@gmail.com>
* org-agenda.el (org-agenda-quit): Provide the window argument for
`window-dedicated-p', Emacs 22 needs it.
* org-exp.el (org-export-cleanup-toc-line): Remove footnote
references from TOC lines.

View file

@ -4802,7 +4802,7 @@ If ERROR is non-nil, throw an error, otherwise just return nil."
(interactive)
(if org-agenda-columns-active
(org-columns-quit)
(if (window-dedicated-p) (delete-other-windows))
(if (window-dedicated-p (selected-window)) (delete-other-windows))
(let ((buf (current-buffer)))
(and (not (eq org-agenda-window-setup 'current-window))
(not (one-window-p))