* David Kastrup (2006-07-15) writes: > Ralf Angeli <[EMAIL PROTECTED]> writes: > >> * David Kastrup (2006-07-15) writes: >> >>> Ralf Angeli <[EMAIL PROTECTED]> writes: >>> >>>> - (add-hook 'tool-bar-mode-on-hook 'LaTeX-maybe-install-toolbar) >>>> + (add-hook 'tool-bar-mode-on-hook 'LaTeX-maybe-install-toolbar nil t) >>> >>> I should be surprised if this worked on all supported Emacs versions >>> and in particular XEmacs. >> >> I checked it on CVS Emacs, Emacs 21 and XEmacs, and it worked. For >> XEmacs this line is irrelevant anyway because it does not evaluate >> `tool-bar-mode-on-hook'. > > It would not be irrelevant since it still has to evaluate add-hook > without bombing out. But if you checked, then that's ok. I thought I > remembered we had some problem in that area, but maybe XEmacs has made > progress since then, and maybe it was just add-to-list which had the > problem I remembered.
XEmacs 21.4.19 on my Debian system at least supports the 4th argument. As far as I understand the doc string it doesn't make the hook local on its own, however. An interface typical for XEmacs, I'd say. -- Ralf _______________________________________________ auctex-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex-devel
