summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/matlab/files/50matlab-gentoo.el')
-rw-r--r--app-emacs/matlab/files/50matlab-gentoo.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-emacs/matlab/files/50matlab-gentoo.el b/app-emacs/matlab/files/50matlab-gentoo.el
new file mode 100644
index 000000000000..69ca8b1c235a
--- /dev/null
+++ b/app-emacs/matlab/files/50matlab-gentoo.el
@@ -0,0 +1,12 @@
+
+;;; matlab site-lisp configuration
+
+(setq load-path (cons "@SITELISP@" load-path))
+
+(autoload 'matlab-mode "matlab" "Enter Matlab mode." t)
+(setq auto-mode-alist (cons '("\\.m\\'" . matlab-mode) auto-mode-alist))
+(autoload 'matlab-shell "matlab" "Interactive Matlab mode." t)
+
+(autoload 'tlc-mode "tlc" "tlc Editing Mode" t)
+(add-to-list 'auto-mode-alist '("\\.tlc$" . tlc-mode))
+(setq tlc-indent-function t)