org-agenda.el: Fix bug about restoring existing window conf release_7.9
authorBastien Guerry <bzg@altern.org>
Fri, 24 Aug 2012 13:54:58 +0000 (15:54 +0200)
committerBastien Guerry <bzg@altern.org>
Fri, 24 Aug 2012 13:54:58 +0000 (15:54 +0200)
commitd44b56e81e7cf2f0afd03e1e1962b996ffa61305
treeb805f7f725a21dee132ecfd793bf6fa6c54fc767
parentdd31878ee74b1bb78215be83db39857a799a5b17
org-agenda.el: Fix bug about restoring existing window conf

* org-agenda.el (org-prepare-agenda-window): Use
`org-pre-agenda-window-conf' if already set.
(org-agenda-Quit): Set `org-pre-agenda-window-conf' to nil
when quitting.
(org-agenda-quit): Ditto.

Thanks to Moritz Ulrich for reporting a bug about this.
lisp/org-agenda.el