]> git.eshelyaron.com Git - emacs.git/commit
Use single post-command-hook on hl-line modes
authorGabriel do Nascimento Ribeiro <gabriel.nascimento@nubank.com.br>
Sat, 23 Jan 2021 18:38:42 +0000 (15:38 -0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 23 Jan 2021 19:35:00 +0000 (21:35 +0200)
commit30d95d33737e4694b579c38328564716d10217b6
treeb8f503ebffe7d910ca5f3637f0dd11eec5ee39e9
parentd860ca98ccb4ff9ff3b2348c3a7156ef010f2284
Use single post-command-hook on hl-line modes

* lisp/hl-line.el (hl-line-mode, global-hl-line-mode): Ensure
that 'maybe-unhighlight' is called after line is highlighted.
(Bug#45946)
(hl-line-unhighlight, global-hl-line-unhighlight): Set overlay
variable to nil after overlay is deleted.
lisp/hl-line.el