emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: save-frame-excursion?


From: Bastien
Subject: Re: save-frame-excursion?
Date: Mon, 27 Jul 2009 12:58:35 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

"Stephen J. Turnbull" <address@hidden> writes:

> Bastien writes:
>  > Stefan Monnier <address@hidden> writes:
>  > 
>  > > So the really better fix would be to make sure make-frame doesn't change
>  > > the focus (especially since the above note is not quite correct: even
>  > > for click-to-focus WMs, the new frames may get selected just by virtue
>  > > of being new, which is most likely what you're seeing).
>  > 
>  > This patch makes sure that `make-frame' gives the focus back to the
>  > previously selected frame.
>
> I think the hook should be run *after* returning focus to the frame,
> in case of a hook function that wants to do something with the focus.

Yes, now I think about it again I think you're right.

-- 
 Bastien




reply via email to

[Prev in Thread] Current Thread [Next in Thread]