Re: [AUCTeX-devel] Re: [AUCTeX-diffs] Changes to auctex/latex.el,v
Ralf Angeli <[EMAIL PROTECTED]> writes: > * David Kastrup (2006-07-15) writes: > >> 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. Can be used for doing everything, but it is hard figuring out how to let it do the subset that actually would make sense? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum ___ auctex-devel mailing list auctex-devel@gnu.org http://lists.gnu.org/mailman/listinfo/auctex-devel
Re: [AUCTeX-devel] Re: [AUCTeX-diffs] Changes to auctex/latex.el,v
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. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum ___ auctex-devel mailing list auctex-devel@gnu.org http://lists.gnu.org/mailman/listinfo/auctex-devel
Re: [AUCTeX-devel] Re: [AUCTeX-diffs] Changes to auctex/latex.el,v
* 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'. -- Ralf ___ auctex-devel mailing list auctex-devel@gnu.org http://lists.gnu.org/mailman/listinfo/auctex-devel