diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 8196d1236ba..7b6a3f3694a 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -17467,16 +17467,9 @@ redisplay_internal (void) | |||
| 17467 | continue; | 17467 | continue; |
| 17468 | 17468 | ||
| 17469 | /* Remember tty root frames which we've seen. */ | 17469 | /* Remember tty root frames which we've seen. */ |
| 17470 | if (!FRAME_PARENT_FRAME (f)) | 17470 | if (!FRAME_PARENT_FRAME (f) |
| 17471 | { | 17471 | && NILP (assq_no_quit (frame, tty_root_frames))) |
| 17472 | Lisp_Object found; | 17472 | tty_root_frames = Fcons (frame, tty_root_frames); |
| 17473 | for (found = tty_root_frames; | ||
| 17474 | CONSP (found) && !EQ (XCAR (found), frame); | ||
| 17475 | found = XCDR (found)) | ||
| 17476 | ; | ||
| 17477 | if (!CONSP (found)) | ||
| 17478 | tty_root_frames = Fcons (frame, tty_root_frames); | ||
| 17479 | } | ||
| 17480 | } | 17473 | } |
| 17481 | 17474 | ||
| 17482 | retry_frame: | 17475 | retry_frame: |