diff options
| author | Glenn Morris | 2018-06-18 12:14:26 -0700 |
|---|---|---|
| committer | Glenn Morris | 2018-06-18 12:14:26 -0700 |
| commit | 1d9d35a4e8d6339e064bfe5b1655544e851128ff (patch) | |
| tree | f0417fde3e7eb025bfb523ec5504b0e0b07ea9f1 /src | |
| parent | 96dd452be5b4accbd72864573f479d8b66d5e0e5 (diff) | |
| parent | 36737705b451ad4c765baa5789e3ceb752ee07a3 (diff) | |
| download | emacs-1d9d35a4e8d6339e064bfe5b1655544e851128ff.tar.gz emacs-1d9d35a4e8d6339e064bfe5b1655544e851128ff.zip | |
Merge from origin/emacs-26
3673770 (origin/emacs-26) Fix vertical-motion with 'visual' line-numb...
d8bff53 ; CONTRIBUTE: Add a couple of nits.
Diffstat (limited to 'src')
| -rw-r--r-- | src/indent.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/indent.c b/src/indent.c index bcffa0d11e5..9c751bc30b5 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -2147,8 +2147,7 @@ whether or not it is currently displayed in some window. */) | |||
| 2147 | will sometimes err by one column. */ | 2147 | will sometimes err by one column. */ |
| 2148 | int lnum_width = 0; | 2148 | int lnum_width = 0; |
| 2149 | int lnum_pixel_width = 0; | 2149 | int lnum_pixel_width = 0; |
| 2150 | if (!NILP (Vdisplay_line_numbers) | 2150 | if (!NILP (Vdisplay_line_numbers)) |
| 2151 | && !EQ (Vdisplay_line_numbers, Qvisual)) | ||
| 2152 | line_number_display_width (w, &lnum_width, &lnum_pixel_width); | 2151 | line_number_display_width (w, &lnum_width, &lnum_pixel_width); |
| 2153 | SET_TEXT_POS (pt, PT, PT_BYTE); | 2152 | SET_TEXT_POS (pt, PT, PT_BYTE); |
| 2154 | itdata = bidi_shelve_cache (); | 2153 | itdata = bidi_shelve_cache (); |