[Top][All Lists]

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

[AUCTeX-devel] Re: [AUCTeX-diffs] Changes to auctex/latex.el,v

From: Ralf Angeli
Subject: [AUCTeX-devel] Re: [AUCTeX-diffs] Changes to auctex/latex.el,v
Date: Sat, 15 Jul 2006 17:55:40 +0200

* David Kastrup (2006-07-15) writes:

> Ralf Angeli <address@hidden> writes:
>> * David Kastrup (2006-07-15) writes:
>>> Ralf Angeli <address@hidden> 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.


reply via email to

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