New answers tagged

2 votes

How to set a variable on a single buffer?

[Not an answer: just a summary and linearization of the comments, which are pretty confusing as they stand and mostly deal with a different problem.] The way to set a local variable is as described ...
  • 21.1k
3 votes
Accepted

How to set a variable on a single buffer?

eval: is a special form in the Local Variables section that evaluates the given Elisp-form. That is not what you want. The actual syntax for setting file local variables is: MAYBE_COMMENT ...
  • 30.7k

Top 50 recent answers are included