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

12 lines
342 B
EmacsLisp

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