Switch cache-long-scans to t by default.
authorEli Zaretskii <eliz@gnu.org>
Fri, 8 Nov 2013 10:21:35 +0000 (12:21 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 8 Nov 2013 10:21:35 +0000 (12:21 +0200)
commit080db47fc48d9558d11b0b4ac9b55dff625802b6
treec443f6b219969326798cb2fd92e65222cf5a067f
parent1606c2d38472f1b95776ce0aa3d07d465db0933e
Switch cache-long-scans to t by default.

 src/xdisp.c (message_dolog): Make sure the *Messages* buffer has its
 cache-long-scans disabled, since we don't want to call
 prepare_to_modify_buffer (in insert_1_both) for each message we
 display.
 src/buffer.h (bset_cache_long_scans): New INLINE function, moved
 from buffer.c.  Improve commentary to the buffer field setter
 functions.
 src/buffer.c (bset_cache_long_scans): Static function deleted.
 Improve commentary to the buffer field setter functions.
 (init_buffer_once): Default for cache-long-scans changed to t.
 (Bug#15797)
src/ChangeLog
src/buffer.c
src/buffer.h
src/xdisp.c