* indent.c: #include "region-cache.h".
authorJim Blandy <jimb@redhat.com>
Sat, 8 Oct 1994 22:14:04 +0000 (22:14 +0000)
committerJim Blandy <jimb@redhat.com>
Sat, 8 Oct 1994 22:14:04 +0000 (22:14 +0000)
commit0aa01123caabb74724a77580e388586808a77767
tree024b25b896014def6696d6ce283ce60772a61571
parentef5623efbd9b2579aaef52f18d307281dd6d0a0a
* indent.c: #include "region-cache.h".
(character_width, disptab_matches_widthtab, recompute_width_table,
width_run_cache_on_off): New functions.
(compute_motion): Call width_run_cache_on_off.  If this buffer's
width run cache is enabled, consult it to see if we need to
traverse a region character-by-character; store information in the
cache after doing so.  Call find_before_next_newline instead of
writing out an equivalent loop explicitly, to take advantage of
the newline cache.
Doc fixes.
src/indent.c