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

-- 
Ralf


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

Reply via email to