Ensure order of after-change-major-mode-hook hooks

Reduces the likeliness of load order issues.
This commit is contained in:
Henrik Lissner 2019-06-16 18:57:14 +02:00
parent 43615c4d64
commit 72fd61e07b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 2 additions and 2 deletions

View file

@ -72,7 +72,7 @@ line with a linewise comment.")
(defun +evil|update-shift-width ()
(setq evil-shift-width tab-width))
(add-hook 'after-change-major-mode-hook #'+evil|update-shift-width t)
(add-hook 'after-change-major-mode-hook #'+evil|update-shift-width)
;; --- keybind fixes ----------------------