* lisp/files.el (hack-local-variables-prop-line, hack-local-variables):
Downcase mode names, as seems to be traditional.
2011-05-26 Glenn Morris <rgm@gnu.org>
+ * files.el (hack-local-variables-prop-line, hack-local-variables):
+ Downcase mode names, as seems to be traditional.
+
* mail/emacsbug.el (report-emacs-bug): Mention checking From address.
(report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
(if mode-only
(and (equal keyname "mode")
(setq result
- (intern (concat (symbol-name val) "-mode"))))
+ (intern (concat (downcase (symbol-name val))
+ "-mode"))))
(or (equal keyname "coding")
(condition-case nil
(push (cons (if (eq key 'eval)
;; deprecated, but try to reject them anyway.
(not (string-match
"-minor\\'"
- (setq val2 (symbol-name val))))
+ (setq val2 (downcase (symbol-name val)))))
(setq result (intern (concat val2 "-mode"))))
(unless (eq var 'coding)
(condition-case nil