Search code examples
emacselispsyntax-highlightingtext-editormajor-mode

Unable to register major mode


I have a major mode I created at https://github.com/secondplanet/elixir-mode/blob/master/elixir-mode.el, but when I require it in my ~/.emacs, and then try to type M-x elixir-mode, I'm told the function does not exist. What am I doing wrong?


Solution

  • You misspelled "interactive" in elixir-mode.