bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#11304: mouse-autoselect-window causes loss of messages from echo are


From: Stefan Monnier
Subject: bug#11304: mouse-autoselect-window causes loss of messages from echo area
Date: Mon, 23 Apr 2012 21:41:06 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

> --- src/keyboard.c    2012-04-20 21:26:18 +0000
> +++ src/keyboard.c    2012-04-22 12:19:03 +0000
> @@ -2984,7 +2984,10 @@
>       own stuff with the echo area.  */
>    if (!CONSP (c)
>        || (!(EQ (Qhelp_echo, XCAR (c)))
> -       && !(EQ (Qswitch_frame, XCAR (c)))))
> +       && !(EQ (Qswitch_frame, XCAR (c)))
> +       /* Don't wipe echo area for select window events: These might
> +          get delayed via `mouse-autoselect-window' (Bug#11304).  */
> +       && !(EQ (Qselect_window, XCAR (c)))))
>      {
>        if (!NILP (echo_area_buffer[0]))
>       safe_run_hooks (Qecho_area_clear_hook);

This looks right, thank you,


        Stefan





reply via email to

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