diff options
| author | Eli Zaretskii | 2017-06-24 12:37:30 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-06-24 12:37:30 +0300 |
| commit | 5b648ac7a2b2e1b77eb59573db59019d5068476c (patch) | |
| tree | ec2201fdc0e7906a49f2b5e61c99a8c850a66775 /lisp | |
| parent | 77f8b86e405cc0ff9c49aea5d98097212755b832 (diff) | |
| download | emacs-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.el | 1 |
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 | ||