Maintain stable window config when `org-agenda-follow-indirect' is set.
commit35d6d9f5051f39a18870f1a002bf63f06282e8a0
authorDave Abrahams <dave@boostpro.com>
Sun, 23 Oct 2011 18:41:44 +0000 (23 14:41 -0400)
committerBastien Guerry <bzg@altern.org>
Mon, 12 Dec 2011 16:37:16 +0000 (12 17:37 +0100)
treea4b37d52d9882f01499193dc756f36e61a271bbc
parentc9ac829394df3ab8e0fbdd970cb3e90814465fec
Maintain stable window config when `org-agenda-follow-indirect' is set.

* org-agenda.el (org-agenda-do-tree-to-indirect-buffer): New
function.
(org-agenda-tree-to-indirect-buffer): Use the new function.

TINYCHANGE

Without this change, `org-agenda-follow-indirect' tends to cause the
window configration to bounce around chaotically as you move from item
to item.
lisp/org-agenda.el