I want to launch a command when I start emacs with a .tex file. The command is:
M-x flyspell-mode
Is it possible and how?
I want to launch a command when I start emacs with a .tex file. The command is:
M-x flyspell-mode
Is it possible and how?
Copyright © 2021 Jogjafile Inc.
Perhaps you can add hook to the
latex-mode. You can add the following line into your.emacsfile.I didn't test this, however, I think it should work. This will enable
flyspell-modewhenever you enter thelatex-mode.