Fix wrong hook naming
This commit is contained in:
parent
10ed0bcbde
commit
65de966340
1 changed files with 1 additions and 2 deletions
|
|
@ -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))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue