You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-mathematics/Macaulay2/files/70Macaulay2-gentoo.el

11 lines
597 B

;; 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))))