I'd like to use the octave mode for emacs. There is no octave-mode
package in MELPA, but EmacsWiki (https://www.emacswiki.org/emacs/OctaveMode) and the emacs manual seem to suggest that it is built-in for v21 and higher (I have v28). However, simply opening a .m
file does not activate it.
Even adding the following to .emacs
does not work:
(autoload 'octave-mode "octave-mod" nil t)
(setq auto-mode-alist
(cons '("\\.m$" . octave-mode) auto-mode-alist))
The error is: File mode specification error: (file-missing Cannot open load file No such file or directory octave-mod)
, which does not make sense if the package is built-in.
Am I missing something?