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

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

Re: No refresh of buffer before popup-menu


From: Kim F. Storm
Subject: Re: No refresh of buffer before popup-menu
Date: Thu, 22 Feb 2007 10:22:09 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

martin rudalics <address@hidden> writes:

> In Lennart's example there are _two_ menus.  The one popped by
> `temp-test1' and the other popped by `temp-test2'.  In between he does
>
> (insert ";; SOME STRING 2\n")
>
> which should get displayed before popping up the second menu.  Lennart's
> problem is that `sit-for' doesn't redisplay because `input-pending-p'
> returns non-nil.

In that case, use (redisplay t) instead of (sit-for 0) to _force_ a redisplay.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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