On Sat, Jan 14 2006, David Kastrup wrote:
> Reiner Steib <[EMAIL PROTECTED]> writes:
>
>> is there still any reason to have the LaTeX tool bar disabled by
>> default? The switching of the images (DVI/PDF) has been fixed on
>> 2005-05-21. Are there any other major problems?
>>
>> If we agree to enable it by default, how to do it? Just add
>> `LaTeX-install-toolbar' to the defcustom of `LaTeX-mode-hook'?
>
> I don't want the code loaded when the toolbar is switched off. Any
> idea how to deal with that?
In message.el and Gnus, we check tool-bar-mode (Emacs) or (featurep
'toolbar) (XEmacs). So something similar to the following in
`TeX-latex-mode' would be fine, I think:
(and (if (featurep 'xemacs)
(featurep 'toolbar)
(default-value 'tool-bar-mode))
;; New variable, defaulting to t:
LaTeX-enable-toolbar
(LaTeX-install-toolbar))
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex