Fix problems with line-number updates in Follow mode
commit5b648ac7a2b2e1b77eb59573db59019d5068476c
authorEli Zaretskii <eliz@gnu.org>
Sat, 24 Jun 2017 09:37:30 +0000 (24 12:37 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 24 Jun 2017 09:37:30 +0000 (24 12:37 +0300)
treeec2201fdc0e7906a49f2b5e61c99a8c850a66775
parent77f8b86e405cc0ff9c49aea5d98097212755b832
Fix problems with line-number updates in Follow mode

* src/xdisp.c (redisplay_window): If forced window-start requires
to move a window's point, and the window is under relative
line-number display, force another round of redisplay to update
the relative line numbers.  This fixes follow-mode "redisplay" of
its window group.

* lisp/frame.el: Add display-line-numbers to the list of variables
that should trigger redisplay of the current buffer.
lisp/frame.el
src/xdisp.c