aboutsummaryrefslogtreecommitdiffstats
path: root/src/indent.c
diff options
context:
space:
mode:
authorKaroly Lorentey <[email protected]>2004-12-23 16:43:51 +0000
committerKaroly Lorentey <[email protected]>2004-12-23 16:43:51 +0000
commit17d51b68fb4e7da4f18eff72c589b7ffc4f9c22c (patch)
treef490c1ccdbd43077ea77f953bc59ca94c2fe810c /src/indent.c
parent4b89585ee70a1f64543a5851f07cf7e2d89c5c62 (diff)
parent55f4edbcd246d8ea1715687a7aeeb3afe35c0345 (diff)
Merged in changes from CVS trunk.
Patches applied: * [email protected]/emacs--cvs-trunk--0--patch-726 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-727 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-728 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-729 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-730 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-731 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-732 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-733 Update from CVS: man/calc.texi: Fix some TeX definitions. * [email protected]/emacs--cvs-trunk--0--patch-734 Merge from gnus--rel--5.10 * [email protected]/emacs--cvs-trunk--0--patch-735 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-736 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-737 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-738 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-739 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-740 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-741 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-742 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-743 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-744 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-745 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-746 Update from CVS * [email protected]/gnus--rel--5.10--patch-75 Merge from emacs--cvs-trunk--0 * [email protected]/gnus--rel--5.10--patch-76 Update from CVS * [email protected]/gnus--rel--5.10--patch-77 Update from CVS git-archimport-id: [email protected]/emacs--multi-tty--0--patch-277
Diffstat (limited to 'src/indent.c')
-rw-r--r--src/indent.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/indent.c b/src/indent.c
index 4efb5445f7..7cfe53d80b 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -2094,8 +2094,9 @@ whether or not it is currently displayed in some window. */)
move_it_by_lines (&it, -1, 0);
it.vpos = 0;
- if (XINT (lines) != 0)
- move_it_by_lines (&it, XINT (lines), 0);
+ /* Do this even if LINES is 0, so that we move back
+ to the beginning of the current line as we ought. */
+ move_it_by_lines (&it, XINT (lines), 0);
SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it));
}