diff options
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c index eb16e2a4338..4d5c7e763ec 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -6958,7 +6958,8 @@ the return value is nil. Otherwise the value is t. */) | |||
| 6958 | 6958 | ||
| 6959 | if (BUFFERP (w->contents) | 6959 | if (BUFFERP (w->contents) |
| 6960 | && !EQ (w->contents, p->buffer) | 6960 | && !EQ (w->contents, p->buffer) |
| 6961 | && BUFFER_LIVE_P (XBUFFER (p->buffer))) | 6961 | && BUFFER_LIVE_P (XBUFFER (p->buffer)) |
| 6962 | && (NILP (Fminibufferp (p->buffer, Qnil)))) | ||
| 6962 | /* If a window we restore gets another buffer, record the | 6963 | /* If a window we restore gets another buffer, record the |
| 6963 | window's old buffer. */ | 6964 | window's old buffer. */ |
| 6964 | call1 (Qrecord_window_buffer, window); | 6965 | call1 (Qrecord_window_buffer, window); |