org-agenda.el (org-agenda-quit): Delete indirect buffer's window only when it exists
authorMuchenxuan Tong <demon386@gmail.com>
Tue, 22 Jan 2013 13:14:08 +0000 (14:14 +0100)
committerBastien Guerry <bzg@altern.org>
Tue, 22 Jan 2013 13:14:08 +0000 (14:14 +0100)
commit5b20c9a30e4714e72fe253914712001528f662b6
tree96b53b4a8b973b7530ee5996c4bc191c5d1f033c
parent7006f36d3daca1fc8cc78986c93c327941537b74
org-agenda.el (org-agenda-quit): Delete indirect buffer's window only when it exists

* org-agenda.el (org-agenda-quit): Delete indirect buffer's window
only when it exists.

When indirect buffer's window doesn't exist, the original logic will
delete the current window.

TINYCHANGE
lisp/org-agenda.el