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
When:12 years, 3 days ago
Share:Tweet this! | http://paste.lisp.org/+AH9
Channel: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
When:11 years, 4 months ago
Share:Tweet this! | http://paste.lisp.org/+AH9/1
Paste contents:
Raw Source | Display As
From post at http://lesscode.org/2005/07/01/kid-mode/

Colorize as:
Show Line Numbers

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