]> git.eshelyaron.com Git - emacs.git/commit
Don't call modification hooks unprepared
authorNoam Postavsky <npostavs@gmail.com>
Sat, 15 Sep 2018 13:44:30 +0000 (09:44 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sat, 15 Sep 2018 13:44:30 +0000 (09:44 -0400)
commitffbe561ee5acb0b9edc5f4c995c287fb2485c315
tree9833822d627c9d7695b69fdc6d7eab514b22096d
parentf1ddaf7b65bb8edac41813b48f96a84c7fc2e263
Don't call modification hooks unprepared

Inhibit modification hooks when performing message coalescing because
in that case, we aren't doing the necessary preparation for running
modification hooks (i.e., we pass PREPARE=false for the insert_1_both
and del_range_both calls).  See also Bug#30823 and Bug#21824.
* src/xdisp.c (message_dolog): Let-bind inhibit-modification-hooks
to t around del_range_both calls.
src/xdisp.c