Commit 092c12b2 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/files.el (hack-local-variables): Mention file name in warning.

parent 62528af0
2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
* files.el (hack-local-variables): Mention file name in warning.
* htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2014-03-04 Michal Nazarewicz <mina86@mina86.com>
......
......@@ -3340,8 +3340,11 @@ local variables, but directory-local variables may still be applied."
((eq var 'lexical-binding)
(unless hack-local-variables--warned-lexical
(setq hack-local-variables--warned-lexical t)
(display-warning :warning
"Specify `lexical-binding' on the first line, not at the end")))
(display-warning
:warning
(format "%s: `lexical-binding' at end of file unreliable"
(file-name-nondirectory
(or buffer-file-name ""))))))
(t
(ignore-errors
(push (cons (if (eq var 'eval)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment