0

I have this line in my .emacs file:

(add-to-list 'auto-mode-alist '(".+\\.html\\.erb$" . eruby-nxhtml-mumamo))

however, erb chunks aren't correctly recognised. After I run M-x eruby-nxhtml-mumamo everything works like a charm. Any ideas how to fix this?

aL3xa
  • 35,415
  • 18
  • 79
  • 112

1 Answers1

1

change "eruby-nxhtml-mumamo" to "eruby-nxhtml-mumamo-mode"

Aliaksei Kliuchnikau
  • 13,589
  • 4
  • 59
  • 72
crpdm
  • 26
  • 2