all messages for Emacs-related lists mirrored at yhetil.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.