diff options
Diffstat (limited to 'sci-mathematics/Macaulay2/files/70Macaulay2-gentoo.el')
-rw-r--r-- | sci-mathematics/Macaulay2/files/70Macaulay2-gentoo.el | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-mathematics/Macaulay2/files/70Macaulay2-gentoo.el b/sci-mathematics/Macaulay2/files/70Macaulay2-gentoo.el new file mode 100644 index 000000000000..ac86e2132ed5 --- /dev/null +++ b/sci-mathematics/Macaulay2/files/70Macaulay2-gentoo.el @@ -0,0 +1,11 @@ +;; sci-mathematics/Macaulay2 init file + +(add-to-list 'load-path "/usr/share/emacs/site-lisp/Macaulay2") + +(defvar M2-exe "/usr/bin/M2" "*The default Macaulay2 executable name.") +(autoload 'M2 "M2.el" "Run Macaulay 2 in a buffer." t) +(autoload 'Macaulay2 "M2" "Run Macaulay 2 in a buffer, non-interactive." t) +(autoload 'M2-mode "M2" "Macaulay 2 editing mode" t) +(autoload 'm2-mode "M2" "Macaulay 2 editing mode, name in lower case" t) +(autoload 'm2-comint-mode "M2" "Macaulay 2 command interpreter mode, name in lower case" t) +(setq auto-mode-alist (append auto-mode-alist '(("\\.m2$" . M2-mode))))
\ No newline at end of file |