5

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?

1 Answer 1

12

LaTeX-mode-hook is used by AUCTeX's LaTeX mode.

latex-mode-hook is used by Emacs' built-in latex mode.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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