Created
January 8, 2010 03:22
-
-
Save eschulte/271822 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(add-to-list 'load-path "~/src/emacs-starter-kit/src/mmm-mode") | |
(require 'mmm-mode) | |
(setq mmm-global-mode 'maybe) | |
(mmm-add-classes | |
'((embedded-org-css | |
:submode css | |
:face mmm-declaration-submode-face | |
:delimiter-mode nil | |
:front "#\\+begin_src css" | |
:back "#\\+end_src") | |
(embedded-org-emacs-lisp | |
:submode emacs-lisp | |
:face mmm-declaration-submode-face | |
:delimiter-mode nil | |
:front "#\\+begin_src emacs-lisp[^\n]*" | |
:back "#\\+end_src") | |
(embedded-org-ruby | |
:submode ruby | |
:face mmm-declaration-submode-face | |
:delimiter-mode nil | |
:front "#\\+begin_src ruby" | |
:back "#\\+end_src"))) | |
(mmm-add-mode-ext-class 'org-mode nil 'embedded-org-css) | |
(mmm-add-mode-ext-class 'org-mode nil 'embedded-org-emacs-lisp) | |
(mmm-add-mode-ext-class 'org-mode nil 'embedded-org-ruby) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment