From 1e5d2a048d4c76ba4aa0c86f7393297b0d3cd373 Mon Sep 17 00:00:00 2001 From: Karel Klíc Date: Fri, 10 Dec 2010 18:48:23 -0800 Subject: * lisp/files.el (auto-mode-alist): Use html-mode for *.xhtml. (This really only affects empty files.) Fixes: debbugs:7606 --- lisp/files.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/files.el') diff --git a/lisp/files.el b/lisp/files.el index 09e2a4e0725..460b005b9ef 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2232,7 +2232,7 @@ since only a single case-insensitive search through the alist is made." (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) -- cgit v1.2.3