From 5d83b593d173720310e074cba21a2e834b127103 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 14 Aug 1994 09:15:39 +0000 Subject: [PATCH] (compute_motion): Use WIN's frame, not selected one. --- src/indent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/indent.c b/src/indent.c index f1a12fe240c..5e09526e6c8 100644 --- a/src/indent.c +++ b/src/indent.c @@ -579,7 +579,7 @@ compute_motion (from, fromvpos, fromhpos, to, tovpos, tohpos, width, hscroll, ta break; if (hscroll || (truncate_partial_width_windows - && width + 1 < FRAME_WIDTH (selected_frame)) + && width + 1 < FRAME_WIDTH (XFRAME (WINDOW_FRAME (win)))) || !NILP (current_buffer->truncate_lines)) { /* Truncating: skip to newline. */ -- 2.39.5