Skip to content

Commit

Permalink
New mmm-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
nelhage committed Oct 7, 2013
1 parent 97e1ae5 commit 999ef76
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@
[submodule "site/bbdb"]
path = site/bbdb
url = git://git.savannah.nongnu.org/bbdb.git
[submodule "site/mmm-mode"]
path = site/mmm-mode
url = git@github.com:purcell/mmm-mode.git
8 changes: 8 additions & 0 deletions dot-emacs
Original file line number Diff line number Diff line change
Expand Up @@ -1025,6 +1025,14 @@
(define-key ruby-mode-map (kbd "M-TAB") 'dabbrev-expand)
(setq ruby-program-name "irb --inf-ruby-mode -rubygems")))

;; mmm-mode and ERB
(require 'mmm-auto)
(require 'mmm-erb)
(setq mmm-global-mode 'maybe)

(mmm-add-mode-ext-class 'html-erb-mode "\\.erb\\'" 'erb)
(add-to-list 'auto-mode-alist '("\\.erb\\'" . html-erb-mode))

;; Matlab

(autoload 'matlab-mode "matlab" "Enter MATLAB mode." t)
Expand Down
1 change: 1 addition & 0 deletions mmm-mode
1 change: 1 addition & 0 deletions site/mmm-mode
Submodule mmm-mode added at cc0e3d

0 comments on commit 999ef76

Please sign in to comment.