Skip to content

Commit

Permalink
nit(math): format recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Mar 26, 2023
1 parent 6baf7b0 commit 284c970
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions modules/me-math.el
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
(defconst +maxima-available-p (executable-find "maxima"))

(use-package maxima
:straight (:host github :repo "emacsmirror/maxima"
:files (:defaults
"keywords"
"poly-maxima.el"))
:straight '(:host github :repo "emacsmirror/maxima"
:files (:defaults "keywords"))
:when +maxima-available-p
:mode ("\\.ma[cx]\\'" . maxima-mode)
:interpreter ("maxima" . maxima-mode)
Expand All @@ -20,10 +18,8 @@
(maxima-display-maxima-buffer nil))

(use-package imaxima
:straight (imaxima
:host nil
:repo "https://git.code.sf.net/p/maxima/code"
:files ("interfaces/emacs/imaxima/*"))
:straight '(:host nil :repo "https://git.code.sf.net/p/maxima/code"
:files ("interfaces/emacs/imaxima/*"))
:when +maxima-available-p
:commands imaxima imath-mode
:hook (imaxima-startup . maxima-inferior-mode) ; To get syntax highlighting
Expand Down Expand Up @@ -101,4 +97,5 @@
"e" '(nil :wk "eval")
"ee" #'+eros-octave-eval-last-sexp)))


(provide 'me-math)

0 comments on commit 284c970

Please sign in to comment.