Create visibility overlays properly
commita5ed98e4525e87b01d35c0e99db0c7e52365899c
authorMilan Zamazal <pdm@zamazal.org>
Mon, 31 Oct 2011 21:40:28 +0000 (31 22:40 +0100)
committerBastien Guerry <bzg@altern.org>
Tue, 15 Nov 2011 17:39:57 +0000 (15 18:39 +0100)
treef9010173286d1e498bb68d02d2673ee815311af5
parent4f7e1fb108f2443f09cf05cc14f82a2829e894fd
Create visibility overlays properly

* org.el (org-set-outline-overlay-data): Use outline-flag-region to make a
region invisible.  This ensures all necessary actions, especially adding
isearch-open-invisible property, are applied.
lisp/org.el