Preserve point when switching to overview
authorCarsten Dominik <carsten.dominik@gmail.com>
Sun, 8 Sep 2013 06:13:35 +0000 (08:13 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Sun, 8 Sep 2013 06:13:35 +0000 (08:13 +0200)
commitb64626ecf49b3d1504c5107ace2b2931f5dadb37
treec646a3a9542a6901afba0bd8c02d5ef655b608bd
parentff771c5c7eab5c4d4a60e9f1270319758961338d
Preserve point when switching to overview

* lisp/org.el (org-overview): Preserve point.

We want to preserve point when changing global visibility.  This is a
bit dangerouns, because it can leave point in an invisible location.
However, we want to make sure that pressing M-TAG three times returns
us to the same position as before.
lisp/org.el