Mercurial > emacs
changeset 24423:230bace6a57a
(internal_self_insert): Calculate column properly
in overwrite-of-tab case.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Mon, 01 Mar 1999 03:50:00 +0000 |
parents | 1f671d01563a |
children | 520e8f39c1f8 |
files | src/cmds.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cmds.c Mon Mar 01 03:48:22 1999 +0000 +++ b/src/cmds.c Mon Mar 01 03:50:00 1999 +0000 @@ -398,7 +398,7 @@ && 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;