From 19b5305e231c27e33e31960bafb258be5832626d Mon Sep 17 00:00:00 2001 From: finga Date: Wed, 4 Sep 2024 11:37:11 +0200 Subject: [PATCH] python: Use use-package's hook section instead of config --- .emacs.d/config/python.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.emacs.d/config/python.el b/.emacs.d/config/python.el index 2c06c33..ebd3269 100644 --- a/.emacs.d/config/python.el +++ b/.emacs.d/config/python.el @@ -3,5 +3,5 @@ (use-package flycheck-mypy :ensure t - :config - (add-hook 'python-mode-hook 'flycheck-mode)) + :hook + (python-mode . flycheck-mode))