aboutsummaryrefslogtreecommitdiffstats
path: root/src/indent.c
diff options
context:
space:
mode:
authorMiles Bader2006-02-24 08:08:56 +0000
committerMiles Bader2006-02-24 08:08:56 +0000
commit5432dcf9e0da4e2c38dee53fbe8423ff5f06bed6 (patch)
tree94e98550d534fbb93def22ee0d458518ebe6c7f1 /src/indent.c
parente2a3e3535794bf99969d8f93018a85f4d8678c3d (diff)
parent5f4264e54bb59b9b0590a113fbd015c3c0920f7a (diff)
downloademacs-5432dcf9e0da4e2c38dee53fbe8423ff5f06bed6.tar.gz
emacs-5432dcf9e0da4e2c38dee53fbe8423ff5f06bed6.zip
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-23
Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 113-118) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 38-39) - Update from CVS
Diffstat (limited to 'src/indent.c')
-rw-r--r--src/indent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/indent.c b/src/indent.c
index 22b6fc37669..ae28fa3791d 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -2107,7 +2107,8 @@ whether or not it is currently displayed in some window. */)
2107 it.vpos = 0; 2107 it.vpos = 0;
2108 /* Do this even if LINES is 0, so that we move back 2108 /* Do this even if LINES is 0, so that we move back
2109 to the beginning of the current line as we ought. */ 2109 to the beginning of the current line as we ought. */
2110 move_it_by_lines (&it, XINT (lines), 0); 2110 if (XINT (lines) >= 0 || IT_CHARPOS (it) > 0)
2111 move_it_by_lines (&it, XINT (lines), 0);
2111 2112
2112 SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it)); 2113 SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it));
2113 } 2114 }