summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/matlab/files/51matlab-gentoo.el')
-rw-r--r--app-emacs/matlab/files/51matlab-gentoo.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/app-emacs/matlab/files/51matlab-gentoo.el b/app-emacs/matlab/files/51matlab-gentoo.el
new file mode 100644
index 0000000..48adabd
--- /dev/null
+++ b/app-emacs/matlab/files/51matlab-gentoo.el
@@ -0,0 +1,15 @@
+
+;;; matlab site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'matlab-mode "matlab" "Enter Matlab mode." t)
+(add-to-list 'auto-mode-alist '("\\.m\\'" . matlab-mode))
+(autoload 'matlab-shell "matlab" "Interactive Matlab mode." t)
+
+(autoload 'mlint-minor-mode "mlint" nil t)
+(add-hook 'matlab-mode-hook (lambda () (mlint-minor-mode 1)))
+
+(autoload 'tlc-mode "tlc" "tlc Editing Mode" t)
+(add-to-list 'auto-mode-alist '("\\.tlc$" . tlc-mode))
+(setq tlc-indent-function t)