* lisp/files.el (hack-local-variables-prop-line, hack-local-variables):
Downcase "Mode:".
+2011-08-19 Glenn Morris <rgm@gnu.org>
+
+ * files.el (hack-local-variables-prop-line, hack-local-variables):
+ Downcase "Mode:". (Bug#9331)
+
2011-08-18 Chong Yidong <cyd@stupidchicken.com>
* international/characters.el: Add L and R categories.
"-mode"))))
(or (equal keyname "coding")
(condition-case nil
- (push (cons (if (eq key 'eval)
- 'eval
- (indirect-variable key))
+ (push (cons (cond ((eq key 'eval) 'eval)
+ ;; Downcase "Mode:".
+ ((equal keyname "mode") 'mode)
+ (t (indirect-variable key)))
val) result)
(error nil))))
(skip-chars-forward " \t;")))
(var (let ((read-circle nil))
(read str)))
val val2)
+ (and (eq var 'Mode) (setq var 'mode))
;; Read the variable value.
(skip-chars-forward "^:")
(forward-char 1)