mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 10:31:37 -08:00
(try_window_id): Fix computation of tab_offset when
backing up over a character that is splitted across lines.
This commit is contained in:
parent
657cca97be
commit
daa3df262c
1 changed files with 1 additions and 1 deletions
|
|
@ -2708,7 +2708,7 @@ try_window_id (window)
|
|||
if (bp.contin && bp.hpos != lmargin)
|
||||
{
|
||||
val.hpos = bp.prevhpos - width + lmargin;
|
||||
val.tab_offset = bp.tab_offset + bp.prevhpos - width;
|
||||
val.tab_offset = bp.tab_offset + width - bp.prevhpos;
|
||||
did_motion = 1;
|
||||
DEC_BOTH (pos, pos_byte);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue