unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Question about last_nonminibuf_frame
@ 2024-04-19 12:26 Gerd Möllmann
  2024-04-19 14:26 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Gerd Möllmann @ 2024-04-19 12:26 UTC (permalink / raw)
  To: emacs-devel

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?

(Tripped over this with MPS, because frames are Lisp objects, which
can nove in memory.)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-19 14:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-19 12:26 Question about last_nonminibuf_frame Gerd Möllmann
2024-04-19 14:26 ` Eli Zaretskii
2024-04-19 14:52   ` Gerd Möllmann

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).