Skip to content

Commit

Permalink
tweak(code-cells): prefer ein only if not disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed May 17, 2024
1 parent db146c6 commit 7931486
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/me-math.el
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@
:init
;; Both `ein' and `code-cells' registers auto-mode for ".ipynb" files,
;; we remove `code-cells' so `ein' gets used by default.
(setq auto-mode-alist (delete (rassoc 'code-cells-convert-ipynb auto-mode-alist) auto-mode-alist)))
(unless (memq 'ein minemacs-disabled-packages)
(setq auto-mode-alist (delete (rassoc 'code-cells-convert-ipynb auto-mode-alist) auto-mode-alist))))

(use-package julia-mode
:straight t)
Expand Down

0 comments on commit 7931486

Please sign in to comment.