Fix bug #12196 with infloop when cache-long-line-scans is non-nil.
authorEli Zaretskii <eliz@gnu.org>
Mon, 17 Sep 2012 20:11:34 +0000 (23:11 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 17 Sep 2012 20:11:34 +0000 (23:11 +0300)
commitc8b9f1bcbf98ba65fd8a311befd9df99cd143875
tree6e0d206d4fee6b11effeccca803439f000f61bf5
parent51eed9b88f82fed4dff2ced44852fe0fd4851233
Fix bug #12196 with infloop when cache-long-line-scans is non-nil.

 src/search.c (scan_buffer): Use character positions in calls to
 region_cache_forward and region_cache_backward, not byte
 positions.
src/ChangeLog
src/search.c