summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2008-01-29 14:45:13 +0000
committerRichard M. Stallman <rms@gnu.org>2008-01-29 14:45:13 +0000
commit6b8740cf442dbcae579d3ad126d4da6741eb8c73 (patch)
treee0a2d87da8eb70a990c9ef232fe7efb0f8f05b71 /lisp/files.el
parent70a8905bb3d3d1b5d577e8448d94e4abcc9919a2 (diff)
downloademacs-6b8740cf442dbcae579d3ad126d4da6741eb8c73.tar.gz
(hack-local-variables): Don't query about fake variables.
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index ea327f48f2c..7c0557cd5ad 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2767,7 +2767,8 @@ is specified, returning t if it is specified."
(dolist (elt result)
(let ((var (car elt))
(val (cdr elt)))
- (or (eq var 'mode)
+ ;; Don't query about the fake variables.
+ (or (memq var '(mode unibyte coding))
(and (eq var 'eval)
(or (eq enable-local-eval t)
(hack-one-local-variable-eval-safep