Users use 'M-x auto-revert-mode' for starting auto revert mode. How can I set the .emacs file to do the same thing when emacs starts?
How to start a specific mode, when a major mode starts? For example, how to set the .emacs file when I want to start the auto revert mode when LaTeX mode starts?
If you want auto-revert-mode on for all files, add:
If you want it for files for specific modes, try:
and substitute the mode name for
latex
.