emacs-devel
[Top][All Lists]
Advanced

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

Re: Shall menu_bar_items and tool_bar_items look at text property keymap


From: Stefan Monnier
Subject: Re: Shall menu_bar_items and tool_bar_items look at text property keymaps?
Date: Wed, 13 Feb 2002 11:52:45 -0500

> I was looking at the above functions and wondered whether it really
> makes sense for those functions to look for menu-bar and tool-bar
> bindings in the keymap and local-map properties of PT in the current
> buffer?
> 
> I guess it makes sense in some specific cases that the menu bar or
> tool bar changes dynamically depending on what kind of text is below
> the cursor, but I was wondering whether it will actually work - as it
> requires that the menu-bar and tool-bar are updated (or at least
> checked for updates) every time the cursor moves...

They are updated when they are activated (f.ex. when you click on
the menubar to brinf down a menu), so it should work fine.


        Stefan




reply via email to

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