aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-11-24 23:41:42 +0000
committerRichard M. Stallman1993-11-24 23:41:42 +0000
commitbbc2998f3eac08676bc2877564560c6c3f6a7709 (patch)
tree83e3b3958dca30d9af85518d8bb2c3c634972797
parent6c955bcb5237b46bd76c83c06f48391897a13217 (diff)
downloademacs-bbc2998f3eac08676bc2877564560c6c3f6a7709.tar.gz
emacs-bbc2998f3eac08676bc2877564560c6c3f6a7709.zip
(Fmove_to_column): Increments for control characters
were too low by 1.
-rw-r--r--src/indent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indent.c b/src/indent.c
index 569057d895a..96eccc262be 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -333,9 +333,9 @@ and if COLUMN is in the middle of a tab character, change it to spaces.")
333 else if (dp != 0 && XTYPE (DISP_CHAR_VECTOR (dp, c)) == Lisp_Vector) 333 else if (dp != 0 && XTYPE (DISP_CHAR_VECTOR (dp, c)) == Lisp_Vector)
334 col += XVECTOR (DISP_CHAR_VECTOR (dp, c))->size; 334 col += XVECTOR (DISP_CHAR_VECTOR (dp, c))->size;
335 else if (ctl_arrow && (c < 040 || c == 0177)) 335 else if (ctl_arrow && (c < 040 || c == 0177))
336 col++; 336 col += 2;
337 else if (c < 040 || c >= 0177) 337 else if (c < 040 || c >= 0177)
338 col += 3; 338 col += 4;
339 else 339 else
340 col++; 340 col++;
341 } 341 }