* Richard Stallman (2005-02-27) writes: > The doc string of `menu-bar-update-hook' states that it is a "... hook > run for clicks on menu bar, before displaying a submenu." > > I think the doc string is mistaken. Every substantial redisplay runs > this hook since every substantial redisplay updates the menu bar > display structures (if the menu bar has changed). For instance, it > updates the Buffers submenu if the set of buffers has changed. > > I will update the documentation. Meanwhile, do you think > the current behavior is a problem?
If people deduct from the current doc string that the hook is only called when the menubar is used, this could make them disregard performance issues with the function to be put into the hook. And it could slow down Emacs if the function is called very often during editing. The changed doc string is not so misleading in this regard. Thanks for adapting it. -- Ralf _______________________________________________ Emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
