fix(emacs-lisp): duplicate entries in flycheck-disabled-checkers

This commit is contained in:
Henrik Lissner
2024-12-03 11:53:55 -05:00
parent 4418c80c95
commit 637f70f53b

View File

@ -396,8 +396,10 @@ as `+emacs-lisp-non-package-mode' will enable it and disable the other checkers.
(car command-line-args-left))
0 0 (error-message-string e)))))
,(read (default-toplevel-value 'flycheck-emacs-lisp-check-form))))
flycheck-disabled-checkers (cons 'emacs-lisp-checkdoc
flycheck-disabled-checkers))))
flycheck-disabled-checkers
(cons 'emacs-lisp-checkdoc
(remq 'emacs-lisp-checkdoc
flycheck-disabled-checkers)))))
;;;###autoload
(define-minor-mode +emacs-lisp-non-package-mode