diff options
author | Karl Heuer <kwzh@gnu.org> | 1999-03-01 03:50:00 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1999-03-01 03:50:00 +0000 |
commit | 06d74a651259f7ca0d984f707abd1e658ff029d6 (patch) | |
tree | a5848df6964201d93d79584e30b56ab1d0665040 /src/cmds.c | |
parent | e540533884dcb48f605df33cea7fd1b6cf8e1270 (diff) | |
download | emacs-06d74a651259f7ca0d984f707abd1e658ff029d6.tar.gz |
(internal_self_insert): Calculate column properly
in overwrite-of-tab case.
Diffstat (limited to 'src/cmds.c')
-rw-r--r-- | src/cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmds.c b/src/cmds.c index c1f92c745f6..2273aa03002 100644 --- a/src/cmds.c +++ b/src/cmds.c @@ -398,7 +398,7 @@ internal_self_insert (c, noautofill) && XINT (current_buffer->tab_width) > 0 && XFASTINT (current_buffer->tab_width) < 20 && (target_clm = (current_column () - + XINT (Fchar_width (make_number (c2)))), + + XINT (Fchar_width (make_number (c)))), target_clm % XFASTINT (current_buffer->tab_width))))) { int pos = PT; |