When I did some clean up of my Emacs init file, I discovered that I had used both

(add-hook 'LaTeX-mode-hook ...)


(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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.