projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c677a1
)
Make Fadd_face_text_property even less destructive
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 12 Oct 2019 21:35:26 +0000
(23:35 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 12 Oct 2019 21:35:26 +0000
(23:35 +0200)
* src/textprop.c (Fadd_face_text_property): We need to be
non-destructive in buffers, too, because face properties may have
been added with `put-text-property' as a list that's been reused.
src/textprop.c
patch
|
blob
|
history
diff --git
a/src/textprop.c
b/src/textprop.c
index 13cd87ac473a7fc63c6d61fe1d3e918626b674f8..93d19754da59376647ea7879dc4402137fafb244 100644
(file)
--- a/
src/textprop.c
+++ b/
src/textprop.c
@@
-1351,7
+1351,7
@@
into it. */)
(NILP (append)
? TEXT_PROPERTY_PREPEND
: TEXT_PROPERTY_APPEND),
-
!STRINGP (object)
);
+
false
);
return Qnil;
}