Hi Ralf,

On THU, 7 DEC 2006, Ralf Angeli wrote:

> * 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.

I just update to 2006-12-7 and indeed the bug is fixed.

regards,
-- 
Leo


_______________________________________________
bug-auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to