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 | |
| 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.
| -rw-r--r-- | CONTRIBUTE | 7 | ||||
| -rw-r--r-- | src/indent.c | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/CONTRIBUTE b/CONTRIBUTE index c324375bb07..c4f424ce560 100644 --- a/CONTRIBUTE +++ b/CONTRIBUTE | |||
| @@ -78,9 +78,16 @@ admin/notes/bug-triage. | |||
| 78 | ** Documenting your changes | 78 | ** Documenting your changes |
| 79 | 79 | ||
| 80 | Any change that matters to end-users should have an entry in etc/NEWS. | 80 | Any change that matters to end-users should have an entry in etc/NEWS. |
| 81 | Try to start each NEWS entry with a sentence that summarizes the entry | ||
| 82 | and takes just one line -- this will allow to read NEWS in Outline | ||
| 83 | mode after hiding the body of each entry. | ||
| 81 | 84 | ||
| 82 | Doc-strings should be updated together with the code. | 85 | Doc-strings should be updated together with the code. |
| 83 | 86 | ||
| 87 | New defcustom's should always have a ':version' tag stating the first | ||
| 88 | Emacs version in which they will appear. Likewise with defcustom's | ||
| 89 | whose value is changed -- update their ':version' tag. | ||
| 90 | |||
| 84 | Think about whether your change requires updating the manuals. If you | 91 | Think about whether your change requires updating the manuals. If you |
| 85 | know it does not, mark the NEWS entry with "---". If you know | 92 | know it does not, mark the NEWS entry with "---". If you know |
| 86 | that *all* the necessary documentation updates have been made as part | 93 | that *all* the necessary documentation updates have been made as part |
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 (); |