Skip to content

Commit

Permalink
Define custom MMM classes after loading mmm-vars, so that the lazy mm…
Browse files Browse the repository at this point in the history
…m-global-mode setting works correctly
  • Loading branch information
purcell committed Mar 27, 2009
1 parent 1632197 commit 29ba965
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion init-javascript.el
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
(setq js2-use-font-lock-faces t)
(setq js2-mode-must-byte-compile nil)

(eval-after-load "mmm-mode"
(eval-after-load "mmm-vars"
'(progn
(mmm-add-group
'html-js
Expand Down
2 changes: 1 addition & 1 deletion init-ruby-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
;; Ruby - erb
;;----------------------------------------------------------------------------
(add-auto-mode 'html-mode "\.rhtml$")
(eval-after-load "mmm-mode"
(eval-after-load "mmm-vars"
'(progn
(mmm-add-classes
'((eruby :submode ruby-mode :front "<%[#=]?" :back "-?%>"
Expand Down

0 comments on commit 29ba965

Please sign in to comment.