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:
parent
79839719bf
commit
c7c2ec4bc7
|
@ -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.
|
||||
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue