aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Klíc2010-12-10 18:48:23 -0800
committerGlenn Morris2010-12-10 18:48:23 -0800
commit1e5d2a048d4c76ba4aa0c86f7393297b0d3cd373 (patch)
tree12ea7bfa19227f04d6df564d9302d68560e425b9
parentd1ddd1d02e9d341296a9874111ea684cafe96ccf (diff)
downloademacs-1e5d2a048d4c76ba4aa0c86f7393297b0d3cd373.tar.gz
emacs-1e5d2a048d4c76ba4aa0c86f7393297b0d3cd373.zip
* lisp/files.el (auto-mode-alist): Use html-mode for *.xhtml.
(This really only affects empty files.) Fixes: debbugs:7606
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/files.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9587fabcb5b..a63aa192181 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12010-12-11 Karel Klíč <kklic@redhat.com>
2
3 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
4
12010-12-10 Stefan Monnier <monnier@iro.umontreal.ca> 52010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 Derive from prog-mode, use derived-mode-p, and fix up various 7 Derive from prog-mode, use derived-mode-p, and fix up various
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."
2232 (lambda (elt) 2232 (lambda (elt)
2233 (cons (purecopy (car elt)) (cdr elt))) 2233 (cons (purecopy (car elt)) (cdr elt)))
2234 `(;; do this first, so that .html.pl is Polish html, not Perl 2234 `(;; do this first, so that .html.pl is Polish html, not Perl
2235 ("\\.s?html?\\(\\.[a-zA-Z_]+\\)?\\'" . html-mode) 2235 ("\\.[sx]?html?\\(\\.[a-zA-Z_]+\\)?\\'" . html-mode)
2236 ("\\.svgz?\\'" . image-mode) 2236 ("\\.svgz?\\'" . image-mode)
2237 ("\\.svgz?\\'" . xml-mode) 2237 ("\\.svgz?\\'" . xml-mode)
2238 ("\\.x[bp]m\\'" . image-mode) 2238 ("\\.x[bp]m\\'" . image-mode)