diff options
| author | Jim Blandy | 1994-10-08 22:15:15 +0000 |
|---|---|---|
| committer | Jim Blandy | 1994-10-08 22:15:15 +0000 |
| commit | 9169c321e5e6b1fc3d8e88b53d845d7791d0454b (patch) | |
| tree | b0f980a90c3595393b805408330e4351920f871d /src/syntax.c | |
| parent | 56e1065ec396c40e81518e603444edecae4320f2 (diff) | |
| download | emacs-9169c321e5e6b1fc3d8e88b53d845d7791d0454b.tar.gz emacs-9169c321e5e6b1fc3d8e88b53d845d7791d0454b.zip | |
* search.c: #include "region-cache.h".
(max, min): Make these functions, not macros; we'd like to pass
them arguments that would be bad to evaluate more than once.
(newline_cache_on_off): New function.
(scan_buffer): New argument END. Call newline_cache_on_off. If
this buffer's newline cache is enabled, consult it to see if we
need to scan a region for newlines, and store information in the
cache after doing so.
(find_next_newline): Pass new arg to scan_buffer.
(find_before_next_newline): New function.
Diffstat (limited to 'src/syntax.c')
0 files changed, 0 insertions, 0 deletions