all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: master c22b735: (string-pixel-width): Rewrite to avoid side effects
@ 2021-10-28 13:51 Eli Zaretskii
  2021-10-30  7:50 ` martin rudalics
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2021-10-28 13:51 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

>     * src/xdisp.c (Fwindow_text_pixel_size): Allow `window` to be a buffer.
>     * lisp/emacs-lisp/subr-x.el (string-pixel-width): Simplify accordingly.

Bother: this doesn't make sure w->contents is the current buffer,
which I think many display routines assume without checking (or barf
if it isn't true).  So I think this is unsafe.



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

end of thread, other threads:[~2021-11-04 18:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-28 13:51 master c22b735: (string-pixel-width): Rewrite to avoid side effects Eli Zaretskii
2021-10-30  7:50 ` martin rudalics
2021-11-04 18:46   ` martin rudalics

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.