From 59e3f2df9314e160b37bb1375b4bad15976cd56f Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 13 Sep 2015 09:13:22 -0700 Subject: [PATCH] * src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468). --- src/indent.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/indent.c b/src/indent.c index 777cd36cc52..ded18439fd9 100644 --- a/src/indent.c +++ b/src/indent.c @@ -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 -- 2.39.2