diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index e122649f59e..1984a540add 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -6253,12 +6253,12 @@ followed by all visible frames on the current terminal. */) | |||
| 6253 | { | 6253 | { |
| 6254 | /* Nothing specified; look for a neighboring window on the same | 6254 | /* Nothing specified; look for a neighboring window on the same |
| 6255 | frame. */ | 6255 | frame. */ |
| 6256 | window = Fnext_window (selected_window, Qnil, Qnil); | 6256 | window = Fnext_window (selected_window, Qlambda, Qnil); |
| 6257 | 6257 | ||
| 6258 | if (EQ (window, selected_window)) | 6258 | if (EQ (window, selected_window)) |
| 6259 | /* That didn't get us anywhere; look for a window on another | 6259 | /* That didn't get us anywhere; look for a window on another |
| 6260 | visible frame on the current terminal. */ | 6260 | visible frame on the current terminal. */ |
| 6261 | window = Fnext_window (window, Qnil, Qvisible); | 6261 | window = Fnext_window (window, Qlambda, Qvisible); |
| 6262 | } | 6262 | } |
| 6263 | 6263 | ||
| 6264 | CHECK_LIVE_WINDOW (window); | 6264 | CHECK_LIVE_WINDOW (window); |