diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-10-09 05:08:32 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-10-09 05:08:32 +0200 |
commit | 967eed75968571edc503a770b8a631a4477c9b4d (patch) | |
tree | 989d62ec198b2596d59bb159cec1122bbd4712f0 /lisp/emacs-lisp/warnings.el | |
parent | 534783c526000a3320f1d4c0a42d26c39fff6bd0 (diff) | |
download | emacs-967eed75968571edc503a770b8a631a4477c9b4d.tar.gz emacs-967eed75968571edc503a770b8a631a4477c9b4d.tar.bz2 emacs-967eed75968571edc503a770b8a631a4477c9b4d.zip |
Make add-face-text-property not be destructive on strings
* src/textprop.c (add_properties): Take a parameter to say whether
it's allowed to be destructive or not (bug#20153).
(add_text_properties_1): Ditto.
(Fadd_face_text_property): Use this to say that it shouldn't
modify face properties on strings destructively. This avoids
altering the face properties of one string when altering them on a
copy of the string.
Diffstat (limited to 'lisp/emacs-lisp/warnings.el')
0 files changed, 0 insertions, 0 deletions