> It's a bug in hl-line that needs to be fixed. > > The display engine runs pre-redisplay-function for the window in this > case, so perhaps hl-line could install its hook there and fix its > overlay when it is called. > > Patches are welcome. Unfortunately adding these hooks doesn't fix issue: (add-hook 'pre-redisplay-function #'hl-line-highlight nil t) (add-hook 'pre-redisplay-function #'hl-line-maybe-unhighlight nil t) (add-hook 'pre-redisplay-function #'global-hl-line-highlight) (add-hook 'pre-redisplay-function #'global-hl-line-maybe-unhighlight) These two functions are used in `hl-line.el'. I've tried pre-redisplay-functions hook as well with no effect. -- Best regards, Andrey Orst