diff options
| author | Stefan Kangas | 2022-08-19 17:30:18 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-08-19 17:30:18 +0200 |
| commit | d0bb333efc0faf4c8ee78db5bd9c99819ad2053b (patch) | |
| tree | c54ae69463ec66dc50c247c30330c7e3d54eb5aa /src/window.c | |
| parent | 986440aaad0b8f6ca1e8b93ec7eee3485644a648 (diff) | |
| parent | f2c0fb2615f4c1140f5eef52b19cb77b4e86cbb4 (diff) | |
| download | emacs-d0bb333efc0faf4c8ee78db5bd9c99819ad2053b.tar.gz emacs-d0bb333efc0faf4c8ee78db5bd9c99819ad2053b.zip | |
Merge from origin/emacs-28
f2c0fb2615 Resurrect obsoletion warning for two functions
9c0eec4ed8 * src/window.c (select_window): Fix assert for buffer = no...
16dfe04be2 Find libgccjit on macOS with Homebrew differently
# Conflicts:
# etc/NEWS
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c index c8fcb3a607f..2bce4c9723d 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -556,7 +556,9 @@ select_window (Lisp_Object window, Lisp_Object norecord, | |||
| 556 | frame is active. */ | 556 | frame is active. */ |
| 557 | Fselect_frame (frame, norecord); | 557 | Fselect_frame (frame, norecord); |
| 558 | /* Fselect_frame called us back so we've done all the work already. */ | 558 | /* Fselect_frame called us back so we've done all the work already. */ |
| 559 | eassert (EQ (window, selected_window)); | 559 | eassert (EQ (window, selected_window) |
| 560 | || (EQ (window, f->minibuffer_window) | ||
| 561 | && NILP (Fminibufferp (XWINDOW (window)->contents, Qt)))); | ||
| 560 | return window; | 562 | return window; |
| 561 | } | 563 | } |
| 562 | else | 564 | else |