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

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

Re: menu-bar-update-hook performance problems


From: Kai Großjohann
Subject: Re: menu-bar-update-hook performance problems
Date: Tue, 04 Mar 2003 09:06:38 +0100
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (i686-pc-linux-gnu)

kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes:

> It's much easier: put your own function on the hook that invokes
> (debug).  From there you can examine the backtrace and then continue.
>
> Hm.  OTOH, whether this simple approach works for
> menu-bar-update-hook, of all places, I'm not so sure.  Invoking the
> debugger changes the menu bar...

Another idea: put a function on menu-bar-update-hook that let-binds
menu-bar-update-hook to nil, then invokes (debug).

Maybe it works.
-- 
A preposition is not a good thing to end a sentence with.


reply via email to

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