2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
+ * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
+
* progmodes/etags.el (tags-completion-at-point-function):
Improve last fix.
;; very end of the heading, before the newline, so text inserted at FROM
;; belongs to the heading rather than to the entry.
(let ((o (make-overlay from to nil 'front-advance)))
+ (overlay-put o 'evaporate t)
(overlay-put o 'invisible 'outline)
(overlay-put o 'isearch-open-invisible
(or outline-isearch-open-invisible-function