diff --git a/emacs.el b/emacs.el index 83277ba..2baf84e 100644 --- a/emacs.el +++ b/emacs.el @@ -722,8 +722,10 @@ THEM are function and its args." :after 'my-mode-line-color-update) (with-eval-after-load 'hardhat - ;; TODO: Add hook to hardhat-local-hook - ()) + ;; hardhat-mode-hook does not work as expected... + (advice-add 'hardhat-local-hook + :after + 'my-mode-line-color-update)) (set-face-background 'header-line my-mode-line-background-default)