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:
parent
d80e79203a
commit
55d4cbd314
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
(def-package! flycheck
|
(def-package! flycheck
|
||||||
:commands (flycheck-list-errors flycheck-buffer)
|
: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
|
:config
|
||||||
;; Emacs feels snappier without checks on newline
|
;; Emacs feels snappier without checks on newline
|
||||||
(setq flycheck-check-syntax-automatically '(save idle-change mode-enabled))
|
(setq flycheck-check-syntax-automatically '(save idle-change mode-enabled))
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
;; specify their own formatting rules.
|
;; specify their own formatting rules.
|
||||||
(def-package! editorconfig
|
(def-package! editorconfig
|
||||||
:defer 2
|
:defer 2
|
||||||
:after-call (doom-before-switch-buffer after-find-file)
|
:after-call (doom-enter-buffer-hook after-find-file)
|
||||||
:config
|
:config
|
||||||
;; Register missing indent variables
|
;; Register missing indent variables
|
||||||
(unless (assq 'mips-mode editorconfig-indentation-alist)
|
(unless (assq 'mips-mode editorconfig-indentation-alist)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue