summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2013-08-29 11:03:18 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2013-08-29 11:03:18 +0400
commitd2b368135803170fc2d1f65237b7ef22676f9ecb (patch)
tree366956b20df8e76e561878824bd5e96fa5936d85 /lisp
parente8dfd19797fa7224ae726a8be78726fefd260c0e (diff)
downloademacs-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