[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tool-bar related errors when loading compile.el
From: |
Dan Nicolaescu |
Subject: |
Re: tool-bar related errors when loading compile.el |
Date: |
Mon, 6 Oct 2008 00:04:14 -0700 (PDT) |
martin rudalics <address@hidden> writes:
> > I reverted the patch.
> > Help finding a solution for bug#1066 from someone that understands how
> > the toolbar setup is supposed to work would be greatly appreciated.
>
> I'd rather turn
>
> (if (display-graphic-p)
^^^^^^^^^^^^^^^^^
Using this in defvars is broken. If you start with "emacs -nw" and
later create X11 frames, the defvar will not be initialized correctly
for X11 frames.
> into
>
> (if tool-bar-mode
>
> in compile.el and grep.el.
Unfortunately that is not better for the same reason.