1 ;; sci-mathematics/Macaulay2 init file
3 (add-to-list 'load-path
"/usr/share/emacs/site-lisp/Macaulay2")
5 (defvar M2-exe
"/usr/bin/M2" "*The default Macaulay2 executable name.")
6 (autoload 'M2
"M2.el" "Run Macaulay 2 in a buffer." t
)
7 (autoload 'Macaulay2
"M2" "Run Macaulay 2 in a buffer, non-interactive." t
)
8 (autoload 'M2-mode
"M2" "Macaulay 2 editing mode" t
)
9 (autoload 'm2-mode
"M2" "Macaulay 2 editing mode, name in lower case" t
)
10 (autoload 'm2-comint-mode
"M2" "Macaulay 2 command interpreter mode, name in lower case" t
)
11 (setq auto-mode-alist
(append auto-mode-alist
'(("\\.m2$" . M2-mode
))))