]> git.eshelyaron.com Git - emacs.git/commit
Make blink-cursor-mode use new focus functions
authorDaniel Colascione <dancol@dancol.org>
Mon, 11 Jun 2018 23:08:29 +0000 (16:08 -0700)
committerDaniel Colascione <dancol@dancol.org>
Mon, 11 Jun 2018 23:10:34 +0000 (16:10 -0700)
commit4ff438a45a5d3e380622ceaf4b9aa93cf89be4c8
treedbbc24a5be843fbd5be0ead3784462287636c5cf
parent6a1dfa713b70861f63def3dbb1d5b1aa6c236e79
Make blink-cursor-mode use new focus functions

* lisp/frame.el (blink-cursor--should-blink): New function.
(blink-cursor-check): Call it.
(blink-cursor--rescan-frames): New function.
(blink-cursor-mode): Wire up `blink-cursor--rescan-frames`; stop
using `focus-in-hook' and `focus-out-hook'.
lisp/frame.el