emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: assq_no_quit... huh?


From: Gerd Möllmann
Subject: Re: assq_no_quit... huh?
Date: Fri, 20 Dec 2024 06:00:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Po Lu <luangruo@yahoo.com> writes:

> What's the meaning of this code?
>
>         if (is_tty_frame (f))
>           {
>             /* Ignore all invisble tty frames, children or root.  */
>             if (!FRAME_VISIBLE_P (root_frame (f)))
>               continue;
>
>             /* Remember tty root frames which we've seen.  */
>             if (!FRAME_PARENT_FRAME (f)
>                 && NILP (assq_no_quit (frame, tty_root_frames))) <===
>               tty_root_frames = Fcons (frame, tty_root_frames);
>           }
>
> No alist is being constructed and consequently assq_no_quit always
> returns nil.

Thanks, that's a bug. It would have better been memq_no_quit but that
doesn't seem to exist anymore. Will be fixed soon.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]