aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorDmitry Antipov2013-08-06 09:30:18 +0400
committerDmitry Antipov2013-08-06 09:30:18 +0400
commit00012b86257f33dd4e08e79b814f4a7ad6010713 (patch)
tree1f01b7ccab453278d5e697ae2bf3dd34cd119a48 /src/ChangeLog
parent307764cc3a2afd363cae0a36a6d18dfa68788cb4 (diff)
downloademacs-00012b86257f33dd4e08e79b814f4a7ad6010713.tar.gz
emacs-00012b86257f33dd4e08e79b814f4a7ad6010713.zip
Invalidate region caches only if buffer text is going to be changed.
* lisp.h (modify_region_1): Remove 3rd arg and rename to... (modify_text): ...new prototype. (prepare_to_modify_buffer_1): New prototype. * textprop.c (modify_region): Rename to... (modify_text_properties): ...new function. (add_text_properties_1, set_text_properties, Fremove_text_properties) (Fremove_list_of_text_properties): Adjust users. * insdel.c (modify_region_1): Remove 3rd arg and reimplement as... (modify_text): ...new function. (prepare_to_modify_buffer): Reimplement mostly as a wrapper for... (prepare_to_modify_buffer_1): ...new function. * casefiddle.c (casify_region): * editfns.c (Fsubst_char_in_region, Ftranslate_region_internal) (Ftranspose_regions): Use modify_text.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 35b5c1cfe5c..7b7d9b56cb5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,21 @@
12013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2
3 Invalidate region caches only if buffer text is going to be changed.
4 * lisp.h (modify_region_1): Remove 3rd arg and rename to...
5 (modify_text): ...new prototype.
6 (prepare_to_modify_buffer_1): New prototype.
7 * textprop.c (modify_region): Rename to...
8 (modify_text_properties): ...new function.
9 (add_text_properties_1, set_text_properties, Fremove_text_properties)
10 (Fremove_list_of_text_properties): Adjust users.
11 * insdel.c (modify_region_1): Remove 3rd arg and reimplement as...
12 (modify_text): ...new function.
13 (prepare_to_modify_buffer): Reimplement mostly as a wrapper for...
14 (prepare_to_modify_buffer_1): ...new function.
15 * casefiddle.c (casify_region):
16 * editfns.c (Fsubst_char_in_region, Ftranslate_region_internal)
17 (Ftranspose_regions): Use modify_text.
18
12013-08-05 Stefan Monnier <monnier@iro.umontreal.ca> 192013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2 20
3 * lisp.mk (lisp): Add nadvice.elc. 21 * lisp.mk (lisp): Add nadvice.elc.