Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
092c12b2
Commit
092c12b2
authored
Mar 03, 2014
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/files.el (hack-local-variables): Mention file name in warning.
parent
62528af0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
lisp/ChangeLog
lisp/ChangeLog
+2
-0
lisp/files.el
lisp/files.el
+5
-2
No files found.
lisp/ChangeLog
View file @
092c12b2
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>
...
...
lisp/files.el
View file @
092c12b2
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment