When I did some clean up of my Emacs init file, I discovered that I had used both
(add-hook 'LaTeX-mode-hook ...)
and
(add-hook 'latex-mode-hook ...)
What is the difference between LaTeX-mode-hook
and latex-mode-hook
?
LaTeX-mode-hook
is used by AUCTeX's LaTeX mode.
latex-mode-hook
is used by Emacs' built-in latex mode.