# HG changeset patch # User Richard M. Stallman # Date 776855739 0 # Node ID a03be411d008016a744df85cd1a01e030b49a48a # Parent 462c6cf489fb70f5e84be1a71b9b21523587bf26 (compute_motion): Use WIN's frame, not selected one. diff -r 462c6cf489fb -r a03be411d008 src/indent.c --- a/src/indent.c Sun Aug 14 06:58:19 1994 +0000 +++ b/src/indent.c Sun Aug 14 09:15:39 1994 +0000 @@ -579,7 +579,7 @@ 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. */