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> 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. * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2014-03-04 Michal Nazarewicz <mina86@mina86.com> 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
......
...@@ -3340,8 +3340,11 @@ local variables, but directory-local variables may still be applied." ...@@ -3340,8 +3340,11 @@ local variables, but directory-local variables may still be applied."
((eq var 'lexical-binding) ((eq var 'lexical-binding)
(unless hack-local-variables--warned-lexical (unless hack-local-variables--warned-lexical
(setq hack-local-variables--warned-lexical t) (setq hack-local-variables--warned-lexical t)
(display-warning :warning (display-warning
"Specify `lexical-binding' on the first line, not at the end"))) :warning
(format "%s: `lexical-binding' at end of file unreliable"
(file-name-nondirectory
(or buffer-file-name ""))))))
(t (t
(ignore-errors (ignore-errors
(push (cons (if (eq var 'eval) (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