diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2012-03-21 14:21:24 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2012-03-21 14:21:24 -0400 |
commit | 3d008e4f23fbb9ff7a3308eba745ab8d3a5e9698 (patch) | |
tree | 00d46bca8ffb436aed4382cc8980fdc51f1942ff /lisp/outline.el | |
parent | af67c9d7cd1a44d1e7f168707486407d845ee357 (diff) | |
download | emacs-3d008e4f23fbb9ff7a3308eba745ab8d3a5e9698.tar.gz |
* lisp/outline.el (outline-flag-region): Evaporate overlays.
Fixes: debbugs:10789
Diffstat (limited to 'lisp/outline.el')
-rw-r--r-- | lisp/outline.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/outline.el b/lisp/outline.el index 15af855ff43..da5519f95eb 100644 --- a/lisp/outline.el +++ b/lisp/outline.el @@ -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 ;; 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 |