diff options
| author | Dmitry Antipov | 2013-03-08 13:34:35 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-03-08 13:34:35 +0400 |
| commit | b5426561089d39f18b42bed9dbfcb531f43ed562 (patch) | |
| tree | ea345a9966321890c6abc989182429a5f76de121 /src/ChangeLog | |
| parent | c3e2de4c1a98a45557008700c3e0a654ecdbe447 (diff) | |
| download | emacs-b5426561089d39f18b42bed9dbfcb531f43ed562.tar.gz emacs-b5426561089d39f18b42bed9dbfcb531f43ed562.zip | |
* search.c (find_newline): Accept start and end byte positions
as arguments and allow -1 if not known.
(find_newline_no_quit): Likewise for start position.
* lisp.h (find_newline, find_newline_no_quit): Adjust prototype.
* bidi.c (bidi_find_paragraph_start): Pass byte position to
find_newline_no_quit, thus eliminating CHAR_TO_BYTE.
* editfns.c (Fconstrain_to_field): Break long line. Adjust
call to find_newline.
* indent.c (vmotion): Adjust calls to find_newline_no_quit.
Use DEC_BOTH to start next search from the previous buffer
position, where appropriate.
* xdisp.c (back_to_previous_line_start, forward_to_next_line_start)
(get_visually_first_element, move_it_vertically_backward): Likewise.
Obtain byte position from the display iterator, where appropriate.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index cadb7e11ce8..fe084b160c4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,20 @@ | |||
| 1 | 2013-03-08 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | * search.c (find_newline): Accept start and end byte positions | ||
| 4 | as arguments and allow -1 if not known. | ||
| 5 | (find_newline_no_quit): Likewise for start position. | ||
| 6 | * lisp.h (find_newline, find_newline_no_quit): Adjust prototype. | ||
| 7 | * bidi.c (bidi_find_paragraph_start): Pass byte position to | ||
| 8 | find_newline_no_quit, thus eliminating CHAR_TO_BYTE. | ||
| 9 | * editfns.c (Fconstrain_to_field): Break long line. Adjust | ||
| 10 | call to find_newline. | ||
| 11 | * indent.c (vmotion): Adjust calls to find_newline_no_quit. | ||
| 12 | Use DEC_BOTH to start next search from the previous buffer | ||
| 13 | position, where appropriate. | ||
| 14 | * xdisp.c (back_to_previous_line_start, forward_to_next_line_start) | ||
| 15 | (get_visually_first_element, move_it_vertically_backward): Likewise. | ||
| 16 | Obtain byte position from the display iterator, where appropriate. | ||
| 17 | |||
| 1 | 2013-03-08 Paul Eggert <eggert@cs.ucla.edu> | 18 | 2013-03-08 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 19 | ||
| 3 | print.c, process.c: Use bool for booleans. | 20 | print.c, process.c: Use bool for booleans. |