I wonder if we can set the font in Emacs according to the comments in the file.
E.g.
-*- fond: "my-font"; -*-
|
I wonder if we can set the font in Emacs according to the comments in the file. E.g.
|
|||
|
|
|
For full details, see Specifying File Variables There are two ways to specify file local variable values: in the first line, or with a local variables list. Here's how to specify them in the first line:
Here is an example first line that specifies Lisp mode and sets two variables with numeric values:
Instead of using a A local variables list starts with a line containing the string ‘Local Variables:’, and ends with a line containing the string ‘End:’. In between come the variable names and values, one set per line, like this:
Note that |
|||
|
|
|
You can use the eval file local variable which can evaluate lisp expressions if you allow it. |
|||
|
|