[Top][All Lists]

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

Re: [Bug-AUCTeX] 2006-12-06; toolbar icons disappear

From: Ralf Angeli
Subject: Re: [Bug-AUCTeX] 2006-12-06; toolbar icons disappear
Date: Thu, 07 Dec 2006 21:27:00 +0100

* Ralf Angeli (2006-12-07) writes:

> The following patch fixes the problem by checking the presence and
> value of the variables `plain-TeX-enable-toolbar' and
> `LaTeX-enable-toolbar' in the hook function.  (`TeX-mode-prefix' is a
> function not included in the patch returning the mode prefix as a
> string.)  It feels a bit clumsy, though.  Another approach would be to
> check for the non-emptiness of `toolbarx-internal-button-switches' (in
> contrast to checking *-enable-toolbar).

I've fixed it differently and actually in a much simpler way by adding
`toolbarx-refresh' to the mode hook only locally.


reply via email to

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