diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-08-29 11:03:18 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-08-29 11:03:18 +0400 |
commit | d2b368135803170fc2d1f65237b7ef22676f9ecb (patch) | |
tree | 366956b20df8e76e561878824bd5e96fa5936d85 /lisp | |
parent | e8dfd19797fa7224ae726a8be78726fefd260c0e (diff) | |
download | emacs-d2b368135803170fc2d1f65237b7ef22676f9ecb.tar.gz |
Hook scanning and indentation functions to find_newline. This helps
to avoid duplicated code and renders more respect to newline cache.
* lisp.h (scan_newline): Prefer ptrdiff_t to EMACS_INT.
* cmds.c (Fforward_line):
* indent.c (scan_for_column, Fcurrent_indentation, indented_beyond_p):
Use find_newline and avoid unnecessary point movements.
* search.c (scan_newline): Implement on top of find_newline.
Diffstat (limited to 'lisp')
0 files changed, 0 insertions, 0 deletions