emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r107648: * lisp/outline.el (outline-f


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r107648: * lisp/outline.el (outline-flag-region): Evaporate overlays.
Date: Wed, 21 Mar 2012 14:21:24 -0400
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 107648
fixes bug(s): http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10789
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Wed 2012-03-21 14:21:24 -0400
message:
  * lisp/outline.el (outline-flag-region): Evaporate overlays.
modified:
  lisp/ChangeLog
  lisp/outline.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-03-21 17:50:28 +0000
+++ b/lisp/ChangeLog    2012-03-21 18:21:24 +0000
@@ -1,5 +1,7 @@
 2012-03-21  Stefan Monnier  <address@hidden>
 
+       * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
+
        * progmodes/etags.el (tags-completion-at-point-function):
        Improve last fix.
 

=== modified file 'lisp/outline.el'
--- a/lisp/outline.el   2012-01-19 07:21:25 +0000
+++ b/lisp/outline.el   2012-03-21 18:21:24 +0000
@@ -751,6 +751,7 @@
     ;; 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]