Commit 3d008e4f authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/outline.el (outline-flag-region): Evaporate overlays.

Fixes: debbugs:10789
parent af67c9d7
2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca> 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): * progmodes/etags.el (tags-completion-at-point-function):
Improve last fix. Improve last fix.
......
...@@ -751,6 +751,7 @@ If FLAG is nil then text is shown, while if FLAG is t the text is hidden." ...@@ -751,6 +751,7 @@ If FLAG is nil then text is shown, while if FLAG is t the text is hidden."
;; very end of the heading, before the newline, so text inserted at FROM ;; very end of the heading, before the newline, so text inserted at FROM
;; belongs to the heading rather than to the entry. ;; belongs to the heading rather than to the entry.
(let ((o (make-overlay from to nil 'front-advance))) (let ((o (make-overlay from to nil 'front-advance)))
(overlay-put o 'evaporate t)
(overlay-put o 'invisible 'outline) (overlay-put o 'invisible 'outline)
(overlay-put o 'isearch-open-invisible (overlay-put o 'isearch-open-invisible
(or outline-isearch-open-invisible-function (or outline-isearch-open-invisible-function
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment