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

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

Re: replace default tool-bar by home-grown tool-bar


From: Matthias Pfeifer
Subject: Re: replace default tool-bar by home-grown tool-bar
Date: Wed, 19 Dec 2007 10:49:23 +0100
User-agent: Thunderbird 1.5.0.8 (X11/20060911)

Nick Roberts wrote:

> 22.17.6 says (for edition 2.9, GNU Emacs version 23.0.50 but that
> for 22.1 is probably the same) :
> 
>                                               Major modes may replace
>      the global bar completely by making `tool-bar-map' buffer-local
>      and set to a keymap containing only the desired items.  Info mode
>      provides an example.
> 
> Looking at info.el:
> 
>   (set (make-local-variable 'tool-bar-map) info-tool-bar-map)
> 
> and info-tool-bar-map is created using tool-bar-local-item-from-menu
> 
> Is that not clear?
> 

Thanks for your answer and for the pointer to gud.el. The section you
stated is of course clear. Only it seems a little unrelated since it is
not talking about a global tool-bar.

matthias


reply via email to

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