Fix vestigial refs to before-switch-buffer hook

doom-before-switch-buffer-hook was renamed to doom-enter-buffer-hook
This commit is contained in:
Henrik Lissner 2018-08-31 14:10:25 +02:00
parent d80e79203a
commit 55d4cbd314
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
(def-package! flycheck
:commands (flycheck-list-errors flycheck-buffer)
:after-call (after-find-file doom-before-switch-buffer)
:after-call (doom-enter-buffer-hook after-find-file)
:config
;; Emacs feels snappier without checks on newline
(setq flycheck-check-syntax-automatically '(save idle-change mode-enabled))

View file

@ -18,7 +18,7 @@
;; specify their own formatting rules.
(def-package! editorconfig
:defer 2
:after-call (doom-before-switch-buffer after-find-file)
:after-call (doom-enter-buffer-hook after-find-file)
:config
;; Register missing indent variables
(unless (assq 'mips-mode editorconfig-indentation-alist)