diff options
author | Richard M. Stallman <rms@gnu.org> | 1993-11-24 23:41:42 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1993-11-24 23:41:42 +0000 |
commit | df252ed5514058c4a4e5059b7f962307251bfaa6 (patch) | |
tree | 2356073cf85f1becaf699e318ea3e07ceb02b38b /src/indent.c | |
parent | 8e75a4ab393ce879026a6b7fa1ef630d244c8d26 (diff) | |
download | emacs-df252ed5514058c4a4e5059b7f962307251bfaa6.tar.gz |
(Fmove_to_column): Increments for control characters
were too low by 1.
Diffstat (limited to 'src/indent.c')
-rw-r--r-- | src/indent.c | 4 |
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.") else if (dp != 0 && XTYPE (DISP_CHAR_VECTOR (dp, c)) == Lisp_Vector) col += XVECTOR (DISP_CHAR_VECTOR (dp, c))->size; else if (ctl_arrow && (c < 040 || c == 0177)) - col++; + col += 2; else if (c < 040 || c >= 0177) - col += 3; + col += 4; else col++; } |