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
Open sidebar
emacs
emacs
Commits
f95a5fd0
Commit
f95a5fd0
authored
Feb 24, 2010
by
Chong Yidong
Browse files
* files.el (hack-local-variables-filter): For eval forms, also
check safe-local-variable-p (Bug#5636).
parent
6583ba0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/files.el
lisp/files.el
+1
-0
No files found.
lisp/ChangeLog
View file @
f95a5fd0
2010-02-24 Chong Yidong <cyd@stupidchicken.com>
* files.el (hack-local-variables-filter): For eval forms, also
check safe-local-variable-p (Bug#5636).
2010-02-24 Eduard Wiebe <usenet@pusto.de>
* javascript.el (wisent-javascript-jv-expand-tag): Avoid c(ad)ddr
...
...
lisp/files.el
View file @
f95a5fd0
...
...
@@ -2981,6 +2981,7 @@ DIR-NAME is a directory name if these settings come from
(
push
elt
all-vars
)
(
or
(
eq
enable-local-eval
t
)
(
hack-one-local-variable-eval-safep
(
eval
(
quote
val
)))
(
safe-local-variable-p
var
val
)
(
push
elt
unsafe-vars
))))
;; Ignore duplicates (except `mode') in the present list.
((
and
(
assq
var
all-vars
)
(
not
(
eq
var
'mode
)))
nil
)
...
...
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