changeset 79947:c293ff04d6e9

(hack-local-variables): Don't query about fake variables.
author Richard M. Stallman <rms@gnu.org>
date Tue, 29 Jan 2008 14:45:13 +0000
parents fe9dab182829
children d8c232d0bd1c
files lisp/files.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Tue Jan 29 10:41:42 2008 +0000
+++ b/lisp/files.el	Tue Jan 29 14:45:13 2008 +0000
@@ -2767,7 +2767,8 @@
 	    (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