]> git.eshelyaron.com Git - emacs.git/commit
Fix bug #16830 with slow search for newlines in forward-line.
authorEli Zaretskii <eliz@gnu.org>
Sun, 16 Mar 2014 16:28:34 +0000 (18:28 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 16 Mar 2014 16:28:34 +0000 (18:28 +0200)
commit2a3d9a06c9a1e6fd4d45eb7c89fd867ca641c563
treeb2308944c089627351224b3eca3834971501b716
parentb92631bf71bb029af7a5b4bcf3acd6b4484a4afa
Fix bug #16830 with slow search for newlines in forward-line.

 src/search.c (find_newline): Speed up the function when using the
 newline cache, by halving the number of calls to
 region_cache_forward and region_cache_backward.
src/ChangeLog
src/search.c