[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r116019: Correctly handle reaching the end of the in
From: |
Daniel Colascione |
Subject: |
[Emacs-diffs] trunk r116019: Correctly handle reaching the end of the interval tree. (Bug#15344) |
Date: |
Mon, 13 Jan 2014 23:41:56 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 116019 [merge]
revision-id: address@hidden
parent: address@hidden
parent: address@hidden
committer: Daniel Colascione <address@hidden>
branch nick: trunk
timestamp: Mon 2014-01-13 15:41:43 -0800
message:
Correctly handle reaching the end of the interval tree. (Bug#15344)
modified:
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/textprop.c textprop.c-20091113204419-o5vbwnq5f7feedwu-512
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2014-01-13 11:30:30 +0000
+++ b/src/ChangeLog 2014-01-13 23:41:43 +0000
@@ -1,3 +1,8 @@
+2014-01-13 Daniel Colascione <address@hidden>
+
+ * textprop.c (Fremove_list_of_text_properties): Correctly
+ handle reaching the end of the interval tree. (Bug#15344)
+
2014-01-13 Martin Rudalics <address@hidden>
* xdisp.c (resize_mini_window): Round height to a multiple of
=== modified file 'src/textprop.c'
--- a/src/textprop.c 2014-01-01 07:43:34 +0000
+++ b/src/textprop.c 2014-01-13 23:40:16 +0000
@@ -1741,6 +1741,19 @@
}
len -= LENGTH (i);
i = next_interval (i);
+ if(!i)
+ {
+ if (modified)
+ {
+ if (BUFFERP (object))
+ signal_after_change (XINT (start),
+ XINT (end) - XINT (start),
+ XINT (end) - XINT (start));
+ return Qt;
+ }
+ else
+ return Qnil;
+ }
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r116019: Correctly handle reaching the end of the interval tree. (Bug#15344),
Daniel Colascione <=