refactor!(parinfer): drop support for parinfer-mode
BREAKING CHANGE: It is no longer maintained, and its author directly recommends `parinfer-rust-mode`. Fix #4323
This commit is contained in:
parent
c1ecbb7503
commit
be137e04b0
3 changed files with 9 additions and 49 deletions
|
@ -1,18 +1,4 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; editor/parinfer/packages.el
|
||||
|
||||
(if (featurep! +rust)
|
||||
(package! parinfer-rust-mode :pin "c2c1bbec6cc7dad4f546868aa07609b8d58a78f8")
|
||||
(when (featurep! :editor evil)
|
||||
;; Parinfer uses `evil-define-key' without loading evil, so if evil is
|
||||
;; installed *after* parinfer, parinfer will throw up void-function errors.
|
||||
;; because evil-define-key (a macro) wasn't expanded at compile-time. So we
|
||||
;; make sure evil is installed before parinfer...
|
||||
(package! evil)
|
||||
;; ...and that it can see `evil-define-key' if evil was installed in a
|
||||
;; separate session:
|
||||
(autoload 'evil-define-key "evil-core" nil nil 'macro))
|
||||
|
||||
(package! parinfer
|
||||
:recipe (:host github :repo "emacsattic/parinfer")
|
||||
:pin "8659c99a9475ee34af683fdf8f272728c6bebb3a"))
|
||||
(package! parinfer-rust-mode :pin "c2c1bbec6cc7dad4f546868aa07609b8d58a78f8")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue