X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/69843d3c084f3648aa3792f396f5fe076665b41c..b56ef781d5a712fd06378f78eb9551ab9269bb2e:/beacon.el diff --git a/beacon.el b/beacon.el index 54b11e402..777e80998 100644 --- a/beacon.el +++ b/beacon.el @@ -350,11 +350,17 @@ unreliable, so just blink immediately." (if beacon-mode (progn (add-hook 'window-scroll-functions #'beacon--window-scroll-function) + (add-hook 'focus-in-hook #'beacon-blink) (add-hook 'post-command-hook #'beacon--post-command) (add-hook 'pre-command-hook #'beacon--vanish)) + (remove-hook 'focus-in-hook #'beacon-blink) (remove-hook 'window-scroll-functions #'beacon--window-scroll-function) (remove-hook 'post-command-hook #'beacon--post-command) (remove-hook 'pre-command-hook #'beacon--vanish))) (provide 'beacon) ;;; beacon.el ends here + +;; Local Variables: +;; indent-tabs-mode: nil +;; End: