savehist: use :custom instead of :hook

this fixes it not automatically starting up.
This commit is contained in:
Artur Manuel 2025-04-09 19:13:46 +01:00
commit d9fe1c14d0
Signed by: amadaluzia
SSH key fingerprint: SHA256:ubvwT66gNUKSsgSzEb2UQnX8pzTq5N+r8eRVYGJJm4Q

View file

@ -54,7 +54,8 @@
(use-package savehist (use-package savehist
:defer t :defer t
:commands (savehist-mode) :commands (savehist-mode)
:hook after-init)) :custom
(savehist-mode t)))
(add-hook #'after-init-hook #'config-initialise) (add-hook #'after-init-hook #'config-initialise)