]> git.eshelyaron.com Git - emacs.git/commit
In follow mode windows in a GUI, don't display inactive cursors
authorAlan Mackenzie <acm@muc.de>
Fri, 19 Oct 2018 09:54:31 +0000 (09:54 +0000)
committerAlan Mackenzie <acm@muc.de>
Fri, 19 Oct 2018 09:54:31 +0000 (09:54 +0000)
commit487931cd06fee9520e37bdb40b5340831106aea8
tree16ec322f79a00e571e3e507807e03be6d84de958
parent2510126388c7732d6ff02bfeda59fe1af0968b1f
In follow mode windows in a GUI, don't display inactive cursors

This is done by setting cursor-in-non-selected-windows buffer locally.

* lisp/follow.el (follow-hide-ghost-cursors): New customizable option.
(follow-mode): Create and set, or kill buffer-local copy of
cursor-in-non-selected-windows when the mode gets enabled or disabled.
(follow-prev-buffer): New variable.
(follow-adjust-window): Manipulate cursor-in-non-selected-windows when the
current buffer changes, to ensure that cursors stay visible in non-selected
follow window groups.

* etc/NEWS: Add an entry for this change.
etc/NEWS
lisp/follow.el