[Tex/LaTex] Make predictive mode default emacs

auctexauto-completionemacs

Every time I fire up Emacs, I run M-x predictive-mode. Is there a way to automate that and preferably while editing TeX.

Best Answer

Adding

(add-hook 'find-file-hook 'predictive-mode)

to your .emacs file should be enough to turn it on everywhere (leave a comment if you don't know what this is).

If you want it only on latex-mode, do this instead:

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