Paste number 13581: mmm-mode for Kid

Index of paste annotations: 1

Paste number 13581: mmm-mode for Kid
Pasted by: graham.fawcett@gmail.com
3 years, 1 month ago
None
Paste contents:
Raw Source | XML | Display As
(mmm-add-mode-ext-class nil "\\.kid?\\'" 'html-kid)
(mmm-add-mode-ext-class nil "\\.kid?\\'" 'html-css)
(mmm-add-classes
 '((html-kid
    :submode python-mode
    :front "<\\?python"
    :back "?>"
)

   (html-css
    :submode css-mode
    :front "type=\"text/css\">"
    :back "</style>"
)
)
)

(add-to-list 'auto-mode-alist '("\\.kid?\\'" . nxml-mode))

Annotations for this paste:

Annotation number 1: asdf
Pasted by: asdf
2 years, 5 months ago
Paste contents:
Raw Source | Display As
From post at http://lesscode.org/2005/07/01/kid-mode/

Colorize as:
Show Line Numbers
Index of paste annotations: 1

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.