Commit 9234ff7f authored by Glenn Morris's avatar Glenn Morris
Browse files

files.el fix for bug#9331

* lisp/files.el (hack-local-variables-prop-line, hack-local-variables):
Downcase "Mode:".
parent 823564e5
2011-08-19 Glenn Morris <>
* files.el (hack-local-variables-prop-line, hack-local-variables):
Downcase "Mode:". (Bug#9331)
2011-08-18 Chong Yidong <>
* international/characters.el: Add L and R categories.
......@@ -3003,9 +3003,10 @@ mode, if there is one, otherwise nil."
(or (equal keyname "coding")
(condition-case nil
(push (cons (if (eq key '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;")))
......@@ -3153,6 +3154,7 @@ major-mode."
(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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment