diff --git a/modules/lang/racket/config.el b/modules/lang/racket/config.el index 853a877d9..124cc434f 100644 --- a/modules/lang/racket/config.el +++ b/modules/lang/racket/config.el @@ -34,8 +34,7 @@ (when (featurep! :checkers syntax) (add-hook! 'racket-xp-mode-hook (defun +racket-disable-flycheck-h () - (unless (memq 'racket flycheck-disabled-checkers) - (push 'racket flycheck-disabled-checkers)))))) + (cl-pushnew 'racket flycheck-disabled-checkers))))) (unless (or (featurep! :editor parinfer) (featurep! :editor lispy))