From 1e080e2eccfc7263c00362fb3359107bb5e861c9 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 19 Jan 2026 20:01:48 +0200 Subject: [PATCH] ; * src/indent.c (Fvertical_motion): Fix last change. (Bug#80223) --- src/indent.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/indent.c b/src/indent.c index 3443ddb8c73..9721c95dcf7 100644 --- a/src/indent.c +++ b/src/indent.c @@ -2509,6 +2509,7 @@ buffer, whether or not it is currently displayed in some window. */) /* Start at beginning of line if inside an overlay string, to avoid becoming stuck at the beginning of the overlay string. */ if (it.continuation_lines_width <= 0 /* not in continuation line */ + && it.hpos > 0 /* and not at BOL */ && it.method == GET_FROM_STRING && !NILP (it.from_overlay)) reseat_at_previous_visible_line_start(&it);