[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/textprop.c
From: |
Luc Teirlinck |
Subject: |
[Emacs-diffs] Changes to emacs/src/textprop.c |
Date: |
Fri, 30 Dec 2005 23:15:03 +0000 |
Index: emacs/src/textprop.c
diff -u emacs/src/textprop.c:1.143 emacs/src/textprop.c:1.144
--- emacs/src/textprop.c:1.143 Sun Aug 7 12:33:18 2005
+++ emacs/src/textprop.c Fri Dec 30 23:15:03 2005
@@ -1316,8 +1316,8 @@
properties PROPERTIES. OBJECT is the buffer or string containing
the text. OBJECT nil means use the current buffer.
SIGNAL_AFTER_CHANGE_P nil means don't signal after changes. Value
- is non-nil if properties were replaced; it is nil if there weren't
- any properties to replace. */
+ is nil if the function _detected_ that it did not replace any
+ properties, non-nil otherwise. */
Lisp_Object
set_text_properties (start, end, properties, object, signal_after_change_p)
@@ -1341,7 +1341,7 @@
&& XFASTINT (end) == SCHARS (object))
{
if (! STRING_INTERVALS (object))
- return Qt;
+ return Qnil;
STRING_SET_INTERVALS (object, NULL_INTERVAL);
return Qt;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/textprop.c,
Luc Teirlinck <=