mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
tools/direnv: remove redundant focus-in hook
It's redundant with doom-switch-frame-hook
This commit is contained in:
@ -18,8 +18,7 @@ buffer/window/frame switch, which is less expensive."
|
|||||||
(when direnv-mode
|
(when direnv-mode
|
||||||
(add-hook 'doom-switch-buffer-hook #'direnv--maybe-update-environment)
|
(add-hook 'doom-switch-buffer-hook #'direnv--maybe-update-environment)
|
||||||
(add-hook 'doom-switch-window-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 'doom-switch-frame-hook #'direnv--maybe-update-environment))))
|
||||||
(add-hook 'focus-in-hook #'direnv--maybe-update-environment))))
|
|
||||||
|
|
||||||
;; Fontify special .envrc keywords; it's a good indication of whether or not
|
;; Fontify special .envrc keywords; it's a good indication of whether or not
|
||||||
;; we've typed them correctly.
|
;; we've typed them correctly.
|
||||||
|
Reference in New Issue
Block a user