]> git.eshelyaron.com Git - emacs.git/commitdiff
(compute_motion): Use WIN's frame, not selected one.
authorRichard M. Stallman <rms@gnu.org>
Sun, 14 Aug 1994 09:15:39 +0000 (09:15 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 14 Aug 1994 09:15:39 +0000 (09:15 +0000)
src/indent.c

index f1a12fe240c8686ec13fe1d4492944642cbd7fd5..5e09526e6c8934644486607aece4992c37afaed4 100644 (file)
@@ -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.  */