aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii2017-06-24 12:37:30 +0300
committerEli Zaretskii2017-06-24 12:37:30 +0300
commit5b648ac7a2b2e1b77eb59573db59019d5068476c (patch)
treeec2201fdc0e7906a49f2b5e61c99a8c850a66775 /lisp
parent77f8b86e405cc0ff9c49aea5d98097212755b832 (diff)
downloademacs-5b648ac7a2b2e1b77eb59573db59019d5068476c.tar.gz
emacs-5b648ac7a2b2e1b77eb59573db59019d5068476c.zip
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.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/frame.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/frame.el b/lisp/frame.el
index b7a55169281..8f51afa2a9a 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -2434,6 +2434,7 @@ See also `toggle-frame-maximized'."
2434 line-prefix 2434 line-prefix
2435 wrap-prefix 2435 wrap-prefix
2436 truncate-lines 2436 truncate-lines
2437 display-line-numbers
2437 bidi-paragraph-direction 2438 bidi-paragraph-direction
2438 bidi-display-reordering)) 2439 bidi-display-reordering))
2439 2440