summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/indent.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/indent.c b/src/indent.c
index b4dc11c13cc..6ca70c744f4 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -1061,8 +1061,9 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width,
Lisp_Object window;
int multibyte = !NILP (current_buffer->enable_multibyte_characters);
- int wide_column_end_hpos = 0; /* Horizontal position at the end of
- last wide-column character. */
+ /* If previous char scanned was a wide character,
+ this is the column where it ended. Otherwise, this is 0. */
+ int wide_column_end_hpos = 0;
int prev_pos; /* Previous buffer position. */
int prev_pos_byte; /* Previous buffer position. */
int contin_hpos; /* HPOS of last column of continued line. */