Ralf Angeli <[EMAIL PROTECTED]> writes: > * David Kastrup (2005-06-21) writes: > >> Ralf Angeli <[EMAIL PROTECTED]> writes: >> >>> I was thinking about adding the `run-mode-hooks' thingy there was so >>> much fuzz about on emacs-devel. But as I currently don't see any >>> problems without it, it is probably to wait with it till after the >>> release. > > Argh, my fingers are too slow for my brain. How can _this_ be > possible? > >> Is it complicated? If we are missing out on some conventions, it >> would not appear amiss to fix that as long as it is reasonably >> unproblematic. > > No, it is just a defalias, e.g. `TeX-run-mode-hooks', calling > `run-mode-hooks' if available and `run-hooks' if not. > `TeX-run-mode-hooks' would then be called instead of `run-hooks' in > all our major modes. > > I haven't checked if this may have bad consequences in connection with > `delay-mode-hooks' or what is involved here in general.
I think this would only apply to the lines starting with (run-hooks 'text-mode-hook There don't seem to be too many of them. I think the idea is that derived modes will call their parents with delay-mode-hooks set so that the hooks of the parent are run after the derived mode has had a chance to override some settings. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum _______________________________________________ auctex-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex-devel
