Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
The first line of a plain-text file reads:
# -*- eval: (auto-revert-tail-mode 1); -*-
Yet Emacs does not enable auto-revert-tail-mode after opening this file. What is wrong?
Take a look at the variables enable-local-eval and enable-local-variables. If you've changed one or both of these from their default values it could explain the behavior you are seeing.
For example if enable-local-eval is nil then that eval line in your file would be ignored.
Required, but never shown