diff options
Diffstat (limited to 'src/indent.c')
| -rw-r--r-- | src/indent.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/indent.c b/src/indent.c index 9b5a9e32c79..efc375e27f7 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -2109,7 +2109,8 @@ whether or not it is currently displayed in some window. */) | |||
| 2109 | it.vpos = 0; | 2109 | it.vpos = 0; |
| 2110 | /* Do this even if LINES is 0, so that we move back | 2110 | /* Do this even if LINES is 0, so that we move back |
| 2111 | to the beginning of the current line as we ought. */ | 2111 | to the beginning of the current line as we ought. */ |
| 2112 | move_it_by_lines (&it, XINT (lines), 0); | 2112 | if (XINT (lines) >= 0 || IT_CHARPOS (it) > 0) |
| 2113 | move_it_by_lines (&it, XINT (lines), 0); | ||
| 2113 | 2114 | ||
| 2114 | SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it)); | 2115 | SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it)); |
| 2115 | } | 2116 | } |