jfbu <[email protected]> writes:
> I only have now to find why doctex-mode does not react, only
> latex-mode, (if I open my .dtx, it defaults to DocTeX mode, where for
> some reason the hook above is not executed, I have to do M-x
> latex-mode. If I open in a buffer a .tex file, no problem)
Hm, in theory doctex-mode (overridden by AUCTeX with TeX-doctex-mode) is
derived from TeX-latex-mode and should also run its hooks...
It that really doesn't work, try adding
(add-hook 'docTeX-mode-hook
#'fjbu/LaTeX-activate-font-lock-for-multiline-verb-macros)
in addition to just LaTeX-mode-hook.
Bye,
Tassilo
_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex