diff --git a/thoom-emacs/modules/thoom-lisp.el b/thoom-emacs/modules/thoom-lisp.el index c6c26e1..e5c64db 100644 --- a/thoom-emacs/modules/thoom-lisp.el +++ b/thoom-emacs/modules/thoom-lisp.el @@ -1,15 +1,15 @@ (provide 'thoom-lisp) +(if (string-match "x86_64-apple" system-configuration) + ;; The latest version of parinfer-rust-mode is incompatible with x86 Macs, so fall back on an earlier commit + (use-package parinfer-rust-mode + :ensure (:host + github + :repo + "justinbarclay/parinfer-rust-mode" + :ref + "8df117a3b54d9e01266a3905b132a1d082944702")) + (use-package parinfer-rust-mode :ensure t)) + (use-package parinfer-rust-mode - ;; The latest version of parinfer-rust-mode is incompatible with x86 Macs, so fall back on an earlier commit - :ensure (:host github :repo "justinbarclay/parinfer-rust-mode" :ref "8df117a3b54d9e01266a3905b132a1d082944702") :hook emacs-lisp-mode) - -;; (use-package parinfer-rust-mode -;; ;; The latest version of parinfer-rust-mode is incompatible with x86 Macs, so fall back on an earlier commit -;; :ensure -;; (if (string-match "x86_64-apple" system-configuration) -;; '(:host github :repo "justinbarclay/parinfer-rust-mode" :ref "8df117a3b54d9e01266a3905b132a1d082944702") -;; t) -;; :hook emacs-lisp-mode) -