emacs-devel
[Top][All Lists]
Advanced

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

Re: Tool-bar and multi-tty


From: Stefan Monnier
Subject: Re: Tool-bar and multi-tty
Date: Sat, 11 Oct 2008 12:28:06 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>  (image-exp `(tool-bar-find-image
>    (if (display-color-p)
>        ',(list xpm-lo-spec xpm-spec pbm-spec xbm-spec)
>      ',(list pbm-spec xbm-spec xpm-lo-spec xpm-spec))))

> Calling tool-bar-local-item-from-menu from the tty loads the lo-spec
> images, whereas deferring this call until X is started up loads the
> hi-spec images.  But deferring the call, as I suggested, doesn't seem to
> be satisfactory either.

Why?  The `if' is left unevaluated in the image-exp.  So IIUC it's only
be evaluated later when the image is actually displayed.


        Stefan




reply via email to

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