diff lisp/files.el @ 111876:297fa92ba5bf

* lisp/files.el (auto-mode-alist): Use html-mode for *.xhtml. (This really only affects empty files.)
author Glenn Morris <rgm@gnu.org>
date Fri, 10 Dec 2010 18:48:23 -0800
parents dc4c9e6071a2
children c00190a8c8ef
line wrap: on
line diff
--- a/lisp/files.el	Fri Dec 10 18:41:47 2010 -0800
+++ b/lisp/files.el	Fri Dec 10 18:48:23 2010 -0800
@@ -2232,7 +2232,7 @@
    (lambda (elt)
      (cons (purecopy (car elt)) (cdr elt)))
    `(;; do this first, so that .html.pl is Polish html, not Perl
-     ("\\.s?html?\\(\\.[a-zA-Z_]+\\)?\\'" . html-mode)
+     ("\\.[sx]?html?\\(\\.[a-zA-Z_]+\\)?\\'" . html-mode)
      ("\\.svgz?\\'" . image-mode)
      ("\\.svgz?\\'" . xml-mode)
      ("\\.x[bp]m\\'" . image-mode)