[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs pretest 22.1.91
From: |
Stefan Monnier |
Subject: |
Re: Emacs pretest 22.1.91 |
Date: |
Sun, 02 Mar 2008 00:15:46 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> 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.
Indeed. And using the above :filter might give us exactly that
(if it doesn't, then maybe we can fix the code so that it does).
Stefan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Emacs pretest 22.1.91,
Stefan Monnier <=