Subject: bug#7728: 24.0.50; GDB backtrace from abort

From: Stefan Monnier <[email-masked]>
Date: Thu, 13 Jan 2011 21:25:37 -0500

>> Hmm... let's see... how 'bout `with-selected-frame'?  ;-)
> Does not exist before Emacs 23, for one thing.  My code needs to work with
> multiple Emacs versions.

If you can live with Emacs≥22, then you can try (with-selected-window
(frame-selected-window <frame>) ...).

        Stefan