diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-08-14 09:15:39 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-08-14 09:15:39 +0000 |
commit | 5d83b593d173720310e074cba21a2e834b127103 (patch) | |
tree | c140cbe280613fc64027e8aa27afbb203ce92b38 /src/indent.c | |
parent | 2ec5f0cd7d4dd0b3d06ffb40c2530fa926cdf8bf (diff) |
(compute_motion): Use WIN's frame, not selected one.
Diffstat (limited to 'src/indent.c')
-rw-r--r-- | src/indent.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |