Mercurial > emacs
changeset 16657:f31cab608aa9
(Fend_of_line, Fbeginning_of_line):
Use Fline_beginning_position, Fline_end_position.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 10 Dec 1996 23:25:45 +0000 |
parents | 9cbbf721b91c |
children | 584563254f25 |
files | src/cmds.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cmds.c Tue Dec 10 23:25:14 1996 +0000 +++ b/src/cmds.c Tue Dec 10 23:25:45 1996 +0000 @@ -139,7 +139,7 @@ else CHECK_NUMBER (n, 0); - Fforward_line (make_number (XINT (n) - 1)); + SET_PT (XINT (Fline_beginning_position (n))); return Qnil; } @@ -159,7 +159,7 @@ else CHECK_NUMBER (n, 0); - SET_PT (find_before_next_newline (PT, 0, XINT (n) - (XINT (n) <= 0))); + SET_PT (XINT (Fline_end_position (n))); return Qnil; }