Fix pet-mode hook configuration
The -10 parameter was for add-hook, not for pet-mode itself
This commit is contained in:
parent
a12b42933e
commit
d3708b3238
1 changed files with 4 additions and 2 deletions
6
init.el
6
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue