Merge pull request #3690 from sorawee/racket-mode-flycheck

racket-mode: avoid using flycheck-disable-checker
This commit is contained in:
Henrik Lissner 2020-08-06 15:27:46 -04:00 committed by GitHub
commit 1bc770e89b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@
(when (featurep! :checkers syntax) (when (featurep! :checkers syntax)
(add-hook! 'racket-xp-mode-hook (add-hook! 'racket-xp-mode-hook
(defun +racket-disable-flycheck-h () (defun +racket-disable-flycheck-h ()
(flycheck-disable-checker 'racket))))) (cl-pushnew 'racket flycheck-disabled-checkers)))))
(unless (or (featurep! :editor parinfer) (unless (or (featurep! :editor parinfer)
(featurep! :editor lispy)) (featurep! :editor lispy))