diff --git a/init.el b/init.el index 5a1e4f0..cc6318e 100644 --- a/init.el +++ b/init.el @@ -854,8 +854,10 @@ (use-package pet :ensure t - :hook - (python-base-mode . (lambda () (pet-mode -10)))) + :config + ;; The -10 tells `add-hook' to makes sure the function is called as early as + ;; possible whenever it is added to the hook variable + (add-hook 'python-base-mode-hook 'pet-mode -10)) (use-package paredit :ensure t