[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about last_nonminibuf_frame
From: |
Eli Zaretskii |
Subject: |
Re: Question about last_nonminibuf_frame |
Date: |
Fri, 19 Apr 2024 17:26:14 +0300 |
> From: Gerd Möllmann <gerd.moellmann@gmail.com>
> Date: Fri, 19 Apr 2024 14:26:18 +0200
>
> This variable of type struct frame * is not staticpro'd (it's not a
> Lisp_Objecz, so it can't be, technically. Strictly speaking, the
> variable can point to a frame that doesn't exist anymore, and can be
> passed to Elisp via a call to last-nonminibuffer-frame.
>
> Question is: shouldn't something be done about this?
AFAICT, delete_frame makes sure last_nonminibuf_frame cannot be a
non-existent frame.