branch: master
commit 4b1267a5fef0d4715f16ead213205dde901cb3b8
Author: viritrilbia <viritrilbia>
Commit: viritrilbia <viritrilbia>
Added `sgml-dtd' submode class from Yann Dirson <[email protected]>.
---
mmm-auto.el | 3 ++-
mmm-sample.el | 15 ++++++++++++++-
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/mmm-auto.el b/mmm-auto.el
index 41b493e..3612c88 100644
--- a/mmm-auto.el
+++ b/mmm-auto.el
@@ -3,7 +3,7 @@
;; Copyright (C) 2000 by Michael Abraham Shulman
;; Author: Michael Abraham Shulman <[email protected]>
-;; Version: $Id: mmm-auto.el,v 1.18 2001/05/15 23:31:57 viritrilbia Exp $
+;; Version: $Id: mmm-auto.el,v 1.19 2001/05/16 01:01:47 viritrilbia Exp $
;;{{{ GPL
@@ -76,6 +76,7 @@
(rpm-sh "mmm-rpm" t)
(rpm "mmm-rpm" nil)
(cweb "mmm-cweb" nil)
+ (sgml-dtd "mmm-sample" nil)
)
"Alist of submode classes autoloaded from files.
Elements look like \(CLASS FILE PRIVATE) where CLASS is a submode
diff --git a/mmm-sample.el b/mmm-sample.el
index 1957d06..38eb5e8 100644
--- a/mmm-sample.el
+++ b/mmm-sample.el
@@ -3,7 +3,7 @@
;; Copyright (C) 2000 by Michael Abraham Shulman
;; Author: Michael Abraham Shulman <[email protected]>
-;; Version: $Id: mmm-sample.el,v 1.19 2001/04/27 01:10:09 viritrilbia Exp $
+;; Version: $Id: mmm-sample.el,v 1.20 2001/05/16 01:01:47 viritrilbia Exp $
;;{{{ GPL
@@ -255,6 +255,19 @@ and MODE is a major mode function symbol.")
)))
;;}}}
+;;{{{ SGML DTD
+
+;; Thanks to Yann Dirson <[email protected]> for writing and
+;; contributing this submode class.
+
+(mmm-add-classes
+ '((sgml-dtd
+ :submode dtd-mode
+ :face mmm-declaration-submode-face
+ :front "<! *doctype[^>[]*\\["
+ :back "]>")))
+
+;;}}}
;; NOT YET UPDATED
;;{{{ HTML in PL/SQL;-COM-