aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1995-06-05 12:30:11 +0000
committerKarl Heuer1995-06-05 12:30:11 +0000
commit1c26a6f3af62611e61364857b67d64cef22d888c (patch)
tree9def68d6f016aa2cf11ae6b042a989709436aca0
parent22697dac66806b67eca956ad8cf8907b16d750b4 (diff)
downloademacs-1c26a6f3af62611e61364857b67d64cef22d888c.tar.gz
emacs-1c26a6f3af62611e61364857b67d64cef22d888c.zip
(hack-local-variables-prop-line): Don't downcase var name.
-rw-r--r--lisp/files.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 58efd8042c5..baf99dbe35d 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -1077,9 +1077,12 @@ If `enable-local-variables' is nil, this function does not check for a
1077 (or (looking-at "[ \t]*\\([^ \t\n:]+\\)[ \t]*:[ \t]*") 1077 (or (looking-at "[ \t]*\\([^ \t\n:]+\\)[ \t]*:[ \t]*")
1078 (error "malformed -*- line")) 1078 (error "malformed -*- line"))
1079 (goto-char (match-end 0)) 1079 (goto-char (match-end 0))
1080 (let ((key (intern (downcase (buffer-substring 1080 ;; There used to be a downcase here,
1081 (match-beginning 1) 1081 ;; but the manual didn't say so,
1082 (match-end 1))))) 1082 ;; and people want to set var names that aren't all lc.
1083 (let ((key (intern (buffer-substring
1084 (match-beginning 1)
1085 (match-end 1))))
1083 (val (save-restriction 1086 (val (save-restriction
1084 (narrow-to-region (point) end) 1087 (narrow-to-region (point) end)
1085 (read (current-buffer))))) 1088 (read (current-buffer)))))