Commit 59e3f2df authored by Paul Eggert's avatar Paul Eggert
Browse files

* src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).

parent 6514b30e
......@@ -2203,10 +2203,7 @@ whether or not it is currently displayed in some window. */)
and then reposition point at the requested X coordinate;
if we don't, the cursor will be placed just after the
string, which might not be the requested column. */
if (nlines > 0
&& it.method == GET_FROM_STRING
&& !it.string_from_display_prop_p
&& it.area == TEXT_AREA)
if (nlines > 0 && it.area == TEXT_AREA)
{
while (it.method == GET_FROM_STRING
&& !it.string_from_display_prop_p
......
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