diff options
| author | Glenn Morris | 2020-09-27 09:37:10 -0700 |
|---|---|---|
| committer | Glenn Morris | 2020-09-27 09:37:10 -0700 |
| commit | 2e8c9ede155668167e509ddb80c6a46dab8d70fe (patch) | |
| tree | 200d823eb9522f7531e8a31073ed003333cb34f4 /src | |
| parent | a492013d07c59fab8eb9779924b384181e878a1a (diff) | |
| parent | f31c6792ab98c8be343838f59d96e35c05353521 (diff) | |
| download | emacs-2e8c9ede155668167e509ddb80c6a46dab8d70fe.tar.gz emacs-2e8c9ede155668167e509ddb80c6a46dab8d70fe.zip | |
Merge from origin/emacs-27
f31c6792ab Fix support for Zip64 zip files
ba635a19fb * lisp/hi-lock.el (hi-lock-auto-select-face): Doc fix. (B...
cc8fef2bdd Avoid infinite recursion with 'relative' line numbers display
395f10cb98 ; Fix more trivial typos
bf4accb65e ; Fix some trivial typos
# Conflicts:
# etc/NEWS
# lisp/arc-mode.el
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index ecd23e0d0fc..152946363ed 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -22824,10 +22824,11 @@ display_count_lines_visually (struct it *it) | |||
| 22824 | SET_TEXT_POS (from, PT, PT_BYTE); | 22824 | SET_TEXT_POS (from, PT, PT_BYTE); |
| 22825 | to = IT_CHARPOS (*it); | 22825 | to = IT_CHARPOS (*it); |
| 22826 | } | 22826 | } |
| 22827 | start_display (&tem_it, it->w, from); | ||
| 22828 | /* Need to disable visual mode temporarily, since otherwise the | 22827 | /* Need to disable visual mode temporarily, since otherwise the |
| 22829 | call to move_it_to will cause infinite recursion. */ | 22828 | call to move_it_to below and inside start_display will cause |
| 22829 | infinite recursion. */ | ||
| 22830 | specbind (Qdisplay_line_numbers, Qrelative); | 22830 | specbind (Qdisplay_line_numbers, Qrelative); |
| 22831 | start_display (&tem_it, it->w, from); | ||
| 22831 | /* Some redisplay optimizations could invoke us very far from | 22832 | /* Some redisplay optimizations could invoke us very far from |
| 22832 | PT, which will make the caller painfully slow. There should | 22833 | PT, which will make the caller painfully slow. There should |
| 22833 | be no need to go too far beyond the window's bottom, as any | 22834 | be no need to go too far beyond the window's bottom, as any |