Changes

43 bytes removed ,  19:38, 17 April 2018
→‎Using Octave Mode: octave-mode is part of emacs since 21
Line 53: Line 53:  
   <li>To begin using Octave mode for all {{Path|.m}} files you visit, add the following lines to a file loaded by Emacs at startup time, typically your {{Path|~/.emacs}} file:</li>
 
   <li>To begin using Octave mode for all {{Path|.m}} files you visit, add the following lines to a file loaded by Emacs at startup time, typically your {{Path|~/.emacs}} file:</li>
 
   <pre>
 
   <pre>
(autoload 'octave-mode "octave-mod" nil t)
   
(setq auto-mode-alist
 
(setq auto-mode-alist
 
       (cons '("\\.m$" . octave-mode) auto-mode-alist))
 
       (cons '("\\.m$" . octave-mode) auto-mode-alist))