From 11cb1e35ff74fdff80d74ee3ec6d61e74b802cea Mon Sep 17 00:00:00 2001 From: "W. Martin Borgert" Date: Sat, 4 Dec 2010 16:45:17 -0500 Subject: [PATCH] * lisp/files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode. * etc/schema/schemas.xml: Handle *.dbk as DocBook. --- etc/ChangeLog | 4 ++++ etc/schema/schemas.xml | 3 ++- lisp/ChangeLog | 5 +++++ lisp/files.el | 1 + 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/etc/ChangeLog b/etc/ChangeLog index 384b276a285..738c63828fe 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,3 +1,7 @@ +2010-12-04 W. Martin Borgert (tiny change) + + * schema/schemas.xml: Add DocBook (Bug#7491). + 2010-11-21 Ulrich Mueller * HELLO: Add ancient Greek (Bug#7418). diff --git a/etc/schema/schemas.xml b/etc/schema/schemas.xml index 099df6b9436..6edc563b689 100644 --- a/etc/schema/schemas.xml +++ b/etc/schema/schemas.xml @@ -22,7 +22,8 @@ along with GNU Emacs. If not, see . --> - + + diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 18bf0a40391..95ee06e7812 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-12-04 W. Martin Borgert (tiny change) + + * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode. + (Bug#7491). + 2010-12-04 Chong Yidong * simple.el (transient-mark-mode): Doc fix (Bug#7465). diff --git a/lisp/files.el b/lisp/files.el index 97dce0fc1e5..70d514d16ec 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2267,6 +2267,7 @@ ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\)\\'" . archive-mode) ("\\.oak\\'" . scheme-mode) ("\\.sgml?\\'" . sgml-mode) ("\\.x[ms]l\\'" . xml-mode) + ("\\.dbk\\'" . xml-mode) ("\\.dtd\\'" . sgml-mode) ("\\.ds\\(ss\\)?l\\'" . dsssl-mode) ("\\.js\\'" . js-mode) ; javascript-mode would be better -- 2.39.2