|
From: | Colin Macdonald |
Subject: | Re: octave mode |
Date: | Fri, 16 Dec 2016 10:37:44 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
On 16/12/16 10:28, Colin Macdonald wrote:
My Emacs (also 25.1.1) always opens .m files in "ObjC/l" mode. I've never taken the time to train it to default to Octave; instead I press "meta-x octave-mode" every time... maybe this is the OPs issue too? One-line fix for .emacs file most welcome :-)
Replying to myself: putting this in my ${HOME}/.emacs file fixed it: (add-to-list 'auto-mode-alist '("\\.m$" . octave-mode))src: http://stackoverflow.com/questions/14941995/emacs-change-file-extension-mode-association
Colin
[Prev in Thread] | Current Thread | [Next in Thread] |