summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2011-08-20 15:26:52 -0700
committerGlenn Morris <rgm@gnu.org>2011-08-20 15:26:52 -0700
commit8e999f70ab17da9006eec0bac77dc3a3502a5eed (patch)
treebe30f4057570bf2da2f6294a06884f839ccc0127 /lisp/files.el
parentf624176fea1020c6786f134e175aea0d2f5c4431 (diff)
downloademacs-8e999f70ab17da9006eec0bac77dc3a3502a5eed.tar.gz
* lisp/files.el (hack-local-variables): Fully ignore case for "mode:".
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 8c7e63dda14..07188e152b3 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -3154,7 +3154,8 @@ major-mode."
(var (let ((read-circle nil))
(read str)))
val val2)
- (and (eq var 'Mode) (setq var 'mode))
+ (and (equal (downcase (symbol-name var)) "mode")
+ (setq var 'mode))
;; Read the variable value.
(skip-chars-forward "^:")
(forward-char 1)