]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fmove_to_column): Increments for control characters
authorRichard M. Stallman <rms@gnu.org>
Wed, 24 Nov 1993 23:41:42 +0000 (23:41 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 24 Nov 1993 23:41:42 +0000 (23:41 +0000)
were too low by 1.

src/indent.c

index 569057d895a3117346ac84e12a2303042e1e7c7b..96eccc262becdf18e7097b3396f3455b0b5c6fb3 100644 (file)
@@ -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++;
     }