Is it possible to access a user-defined file-local variable during byte-compilation?
As an example, I am trying to get this code to work:
--- testfilelocals.el --- ;; -*- my-file-local: "foo" -*- (defun testfilelocals () (eval-when-compile my-file-local))
which fails with a compiler error
testfilelocals.el:5:5:Error: Symbol's value as variable is void: my-file-local