]> git.eshelyaron.com Git - emacs.git/commitdiff
(hack-local-variables-prop-line): Don't downcase var name.
authorKarl Heuer <kwzh@gnu.org>
Mon, 5 Jun 1995 12:30:11 +0000 (12:30 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 5 Jun 1995 12:30:11 +0000 (12:30 +0000)
lisp/files.el

index 58efd8042c564a834ed49de305a43aba42be8c42..baf99dbe35d38a448d5702b44a9debe9dafe68ee 100644 (file)
@@ -1077,9 +1077,12 @@ If `enable-local-variables' is nil, this function does not check for a
               (or (looking-at "[ \t]*\\([^ \t\n:]+\\)[ \t]*:[ \t]*")
                   (error "malformed -*- line"))
               (goto-char (match-end 0))
-              (let ((key (intern (downcase (buffer-substring
-                                            (match-beginning 1)
-                                            (match-end 1)))))
+              ;; There used to be a downcase here,
+              ;; but the manual didn't say so,
+              ;; and people want to set var names that aren't all lc.
+              (let ((key (intern (buffer-substring
+                                  (match-beginning 1)
+                                  (match-end 1))))
                     (val (save-restriction
                            (narrow-to-region (point) end)
                            (read (current-buffer)))))