From a4e19d6198492879cf5e9300f3256d4018d70afc Mon Sep 17 00:00:00 2001 From: Levi Date: Mon, 16 Sep 2024 09:40:17 +0200 Subject: [PATCH] autoloads flycheck --- emacs/module/module-syntax.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/emacs/module/module-syntax.el b/emacs/module/module-syntax.el index 6b78daa..958411a 100644 --- a/emacs/module/module-syntax.el +++ b/emacs/module/module-syntax.el @@ -10,14 +10,16 @@ (require 'module-pkg) (pkg/require-defer 'fic-mode) -(with-eval-after-load 'fic-mode - (add-hook 'prog-mode-hook 'fic-mode)) +(add-hook 'prog-mode-hook 'fic-mode) (pkg/require-defer 'flycheck) +(add-hook 'prog-mode-hook 'flycheck) (with-eval-after-load 'flycheck (global-flycheck-mode) (setq flycheck-emacs-lisp-load-path 'inherit)) + + (provide 'module-syntax) ;;; module-syntax.el ends here.