HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfc524b
)
(Fend_of_line, Fbeginning_of_line):
author
Richard M. Stallman
<rms@gnu.org>
Tue, 10 Dec 1996 23:25:45 +0000
(23:25 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 10 Dec 1996 23:25:45 +0000
(23:25 +0000)
Use Fline_beginning_position, Fline_end_position.
src/cmds.c
patch
|
blob
|
blame
|
history
diff --git
a/src/cmds.c
b/src/cmds.c
index
1d835d8
..
8ca407a
100644
(file)
--- a/
src/cmds.c
+++ b/
src/cmds.c
@@
-139,7
+139,7
@@
If scan reaches end of buffer, stop there without error.")
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
@@
If scan reaches end of buffer, stop there without error.")
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;
}