summaryrefslogtreecommitdiff
path: root/src/indent.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-03-06 18:35:23 +0200
committerEli Zaretskii <eliz@gnu.org>2013-03-06 18:35:23 +0200
commita611149e46d0a6927e9c276d4cf2089b7cfb7e05 (patch)
tree27b367d14ad868560646cf0cc273d6d885c46274 /src/indent.c
parentd26e478eaa7c743b999fbcd995cc8c09ecbcc6c8 (diff)
downloademacs-a611149e46d0a6927e9c276d4cf2089b7cfb7e05.tar.gz
Rename find_next_newline to find_newline_no_quit.
src/search.c (find_newline_no_quit): Rename from find_next_newline. Add commentary. src/lisp.h (find_newline_no_quit): Rename prototype. src/xdisp.c (back_to_previous_line_start) (forward_to_next_line_start, get_visually_first_element) (move_it_vertically_backward): Callers of find_newline_no_quit changed. src/indent.c (vmotion): Callers of find_newline_no_quit changed. src/bidi.c (bidi_find_paragraph_start): Callers of find_newline_no_quit changed.
Diffstat (limited to 'src/indent.c')
-rw-r--r--src/indent.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/indent.c b/src/indent.c
index 469d774f681..abb4e08ad08 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -1843,7 +1843,7 @@ vmotion (register ptrdiff_t from, register EMACS_INT vtarget, struct window *w)
ptrdiff_t bytepos;
Lisp_Object propval;
- prevline = find_next_newline (from - 1, -1, &bytepos);
+ prevline = find_newline_no_quit (from - 1, -1, &bytepos);
while (prevline > BEGV
&& ((selective > 0
&& indented_beyond_p (prevline, bytepos, selective))
@@ -1853,7 +1853,7 @@ vmotion (register ptrdiff_t from, register EMACS_INT vtarget, struct window *w)
Qinvisible,
text_prop_object),
TEXT_PROP_MEANS_INVISIBLE (propval))))
- prevline = find_next_newline (prevline - 1, -1, &bytepos);
+ prevline = find_newline_no_quit (prevline - 1, -1, &bytepos);
pos = *compute_motion (prevline, 0,
lmargin,
0,
@@ -1894,7 +1894,7 @@ vmotion (register ptrdiff_t from, register EMACS_INT vtarget, struct window *w)
ptrdiff_t bytepos;
Lisp_Object propval;
- prevline = find_next_newline (from, -1, &bytepos);
+ prevline = find_newline_no_quit (from, -1, &bytepos);
while (prevline > BEGV
&& ((selective > 0
&& indented_beyond_p (prevline, bytepos, selective))
@@ -1904,7 +1904,7 @@ vmotion (register ptrdiff_t from, register EMACS_INT vtarget, struct window *w)
Qinvisible,
text_prop_object),
TEXT_PROP_MEANS_INVISIBLE (propval))))
- prevline = find_next_newline (prevline - 1, -1, &bytepos);
+ prevline = find_newline_no_quit (prevline - 1, -1, &bytepos);
pos = *compute_motion (prevline, 0,
lmargin,
0,