mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-04-27 15:20:52 -07:00
fix(emacs-lisp): suppress prefix warnings for doom-*
In preparation for v3's API.
This commit is contained in:
parent
02812df398
commit
0365c1a916
1 changed files with 10 additions and 0 deletions
|
|
@ -188,6 +188,16 @@ Use `+emacs-lisp/change-working-buffer' to change this. Only applies to
|
|||
(remove-hook 'emacs-lisp-mode-hook #'overseer-enable-mode)
|
||||
|
||||
|
||||
(use-package! package-lint
|
||||
:when (modulep! :checkers syntax)
|
||||
:defer t
|
||||
:config
|
||||
(setq package-lint--sane-prefixes
|
||||
(concat "\\`\\(?:doom-\\(?:package\\|source\\|module\\)\\)\\|"
|
||||
(with-memoization (get 'package-lint--sane-prefixes 'initial-value)
|
||||
package-lint--sane-prefixes))))
|
||||
|
||||
|
||||
(use-package! flycheck-package
|
||||
:when (modulep! :checkers syntax -flymake)
|
||||
:after flycheck
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue