emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs pretest 22.1.91


From: Eli Zaretskii
Subject: Re: Emacs pretest 22.1.91
Date: Fri, 29 Feb 2008 13:03:11 +0200

> From: Stefan Monnier <address@hidden>
> Cc: address@hidden,  address@hidden,  address@hidden,  address@hidden
> Date: Wed, 27 Feb 2008 23:59:22 -0500
> 
> So maybe the choice of which image to use should be done in the :filter
> function (currently trivial) defined in tool-bar.el as:
> 
> (global-set-key [tool-bar]
>               '(menu-item "tool bar" ignore
>                           :filter (lambda (ignore) tool-bar-map)))
> 
> I.e. basically extend the format allowed in tool-bar-map to include
> various images and let the image be chosen later on by
> the :filter function.  Of course, maybe this filter gets run early on
> as well...

It strikes me that we need to arrange things so that the images are
not looked up nor loaded until the tool bar is actually displayed for
the first time.




reply via email to

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