ambevar-dotfiles/.emacs.d/lisp/mode-octave.el

10 lines
189 B
EmacsLisp

;; Octave
;; Set comments to be '%' to be matlab-compatible.
(add-hook-and-eval
'octave-mode-hook
(lambda ()
(set (make-local-variable 'comment-start) "% ")))
(provide 'mode-octave)