From: Michael Orlitzky Date: Sun, 18 Dec 2016 05:27:31 +0000 (-0500) Subject: Add octave-mode-hooks for files with ".m" extensions. X-Git-Url: http://gitweb.michael.orlitzky.com/?p=emacs.d.git;a=commitdiff_plain;h=e047f0ab8c506207665c71666b6dcb75fc5d683d Add octave-mode-hooks for files with ".m" extensions. --- diff --git a/mode-hooks.el b/mode-hooks.el index a43aeb1..2483dc1 100644 --- a/mode-hooks.el +++ b/mode-hooks.el @@ -6,5 +6,6 @@ (load-library "js-mode-hooks") (load-library "haskell-mode-hooks") (load-library "nxml-mode-hooks") +(load-library "octave-mode-hooks") (load-library "ruby-mode-hooks") (load-library "visual-basic-mode-hooks") diff --git a/mode-hooks/octave-mode-hooks.el b/mode-hooks/octave-mode-hooks.el new file mode 100644 index 0000000..84e89d9 --- /dev/null +++ b/mode-hooks/octave-mode-hooks.el @@ -0,0 +1,5 @@ +(defun octm-hook() + (setq 'octave-continuation-offset 2) + ) + +(add-hook 'octave-mode-hook (function octm-hook))