branch: master
commit 23cd2379d12134940c7761c540f87fb4519b6ee1
Author: mas <mas>
Commit: mas <mas>
Modified CSS to use preferred mode.
---
mmm-sample.el | 4 ++--
mmm-vars.el | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/mmm-sample.el b/mmm-sample.el
index 5915994..2737d0f 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.13 2001/01/11 01:41:30 mas Exp $
+;; Version: $Id: mmm-sample.el,v 1.14 2001/01/13 03:55:46 mas Exp $
;;{{{ GPL
@@ -39,7 +39,7 @@
;; than a simple regexp.
(mmm-add-classes
'((embedded-css
- :submode css-mode
+ :submode css
:face mmm-declaration-submode-face
:front "<style[^>]*>"
:back "</style>")))
diff --git a/mmm-vars.el b/mmm-vars.el
index 38509aa..51a772e 100644
--- a/mmm-vars.el
+++ b/mmm-vars.el
@@ -3,7 +3,7 @@
;; Copyright (C) 2000 by Michael Abraham Shulman
;; Author: Michael Abraham Shulman <[email protected]>
-;; Version: $Id: mmm-vars.el,v 1.37 2001/01/13 03:16:58 mas Exp $
+;; Version: $Id: mmm-vars.el,v 1.38 2001/01/13 03:55:46 mas Exp $
;;{{{ GPL
@@ -306,7 +306,8 @@ unnecessary. It probably won't go away, though."
(defcustom mmm-major-mode-preferences
`((perl . ,(if (fboundp 'cperl-mode) 'cperl-mode 'perl-mode))
(javascript . ,(if (fboundp 'javascript-mode) 'javascript-mode 'c++-mode))
- (java . ,(if (fboundp 'jde-mode) 'jde-mode 'java-mode)))
+ (java . ,(if (fboundp 'jde-mode) 'jde-mode 'java-mode))
+ (css . ,(if (fboundp 'css-mode) 'css-mode 'c++-mode)))
"User preferences about what major modes to use.
Each element has the form \(LANGUAGE . MODE) where LANGUAGE is the
name of a programming language such as `perl' as a symbol, and MODE is