tools/direnv: remove redundant focus-in hook
It's redundant with doom-switch-frame-hook
This commit is contained in:
parent
8cb1fe1874
commit
a9b5640d1f
1 changed files with 1 additions and 2 deletions
|
@ -18,8 +18,7 @@ buffer/window/frame switch, which is less expensive."
|
|||
(when direnv-mode
|
||||
(add-hook 'doom-switch-buffer-hook #'direnv--maybe-update-environment)
|
||||
(add-hook 'doom-switch-window-hook #'direnv--maybe-update-environment)
|
||||
(add-hook 'doom-switch-frame-hook #'direnv--maybe-update-environment)
|
||||
(add-hook 'focus-in-hook #'direnv--maybe-update-environment))))
|
||||
(add-hook 'doom-switch-frame-hook #'direnv--maybe-update-environment))))
|
||||
|
||||
;; Fontify special .envrc keywords; it's a good indication of whether or not
|
||||
;; we've typed them correctly.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue