Commit fa819fed authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix bug #2496 with column counting in presence of display tables.

 src/indent.c (compute_motion): Process display vector front to back
 rather than the other way around.
parent b0415a03
2011-09-12 Eli Zaretskii <eliz@gnu.org>
* indent.c (compute_motion): Process display vector front to back
rather than the other way around. (Bug#2496)
2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
* fileio.c (Finsert_file_contents): Don't assume beg_offset is 0.
......
......@@ -1543,7 +1543,7 @@ compute_motion (EMACS_INT from, EMACS_INT fromvpos, EMACS_INT fromhpos, int did_
n = 1;
}
for (i = n - 1; i >= 0; --i)
for (i = 0; i < n; ++i)
{
if (VECTORP (charvec))
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment