latex - Automatically launch a command with Emacs when it's a .tex file -


i want launch command when start emacs .tex file. command is:

m-x flyspell-mode

is possible , how?

perhaps can add hook latex-mode. can add following line .emacs file.

(add-hook 'latex-mode-hook 'flyspell-mode) 

i didn't test this, however, think should work. enable flyspell-mode whenever enter latex-mode.


Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -