From: Richard M. Stallman Date: Sun, 14 Aug 1994 09:15:39 +0000 (+0000) Subject: (compute_motion): Use WIN's frame, not selected one. X-Git-Tag: emacs-19.34~7310 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5d83b593d173720310e074cba21a2e834b127103;p=emacs.git (compute_motion): Use WIN's frame, not selected one. --- 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. */