Fix wrong hook naming

This commit is contained in:
Tobias Ostner 2026-04-28 18:43:01 +02:00
parent 10ed0bcbde
commit 65de966340

View file

@ -439,7 +439,6 @@
(use-package magit (use-package magit
:after (nerd-icons diff-hl) :after (nerd-icons diff-hl)
:hook :hook
(magit-post-refresh-hook . diff-hl-magit-post-refresh)
(magit-post-refresh . diff-hl-magit-post-refresh) (magit-post-refresh . diff-hl-magit-post-refresh)
:custom :custom
(magit-format-file-function #'magit-format-file-nerd-icons) (magit-format-file-function #'magit-format-file-nerd-icons)
@ -666,7 +665,7 @@
"Recenter the window after save-place restores point." "Recenter the window after save-place restores point."
(when buffer-file-name (when buffer-file-name
(ignore-errors (recenter)))) (ignore-errors (recenter))))
:hook (save-place-after-find-file-hook . to/recenter-after-save-place) :hook (save-place-after-find-file . to/recenter-after-save-place)
:init :init
(save-place-mode 1)) (save-place-mode 1))