diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 5f86f0bfde6..d23b1768d68 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -20754,8 +20754,8 @@ maybe_produce_line_number (struct it *it) | |||
| 20754 | /* Compute the required width if needed. */ | 20754 | /* Compute the required width if needed. */ |
| 20755 | if (!it->lnum_width) | 20755 | if (!it->lnum_width) |
| 20756 | { | 20756 | { |
| 20757 | if (NATNUMP (Vdisplay_line_width)) | 20757 | if (NATNUMP (Vdisplay_line_number_width)) |
| 20758 | it->lnum_width = XFASTINT (Vdisplay_line_width); | 20758 | it->lnum_width = XFASTINT (Vdisplay_line_number_width); |
| 20759 | else | 20759 | else |
| 20760 | { | 20760 | { |
| 20761 | /* Max line number to be displayed cannot be more than | 20761 | /* Max line number to be displayed cannot be more than |
| @@ -32408,13 +32408,13 @@ after each newline that comes from buffer text. */); | |||
| 32408 | Fmake_variable_buffer_local (Qdisplay_line_numbers); | 32408 | Fmake_variable_buffer_local (Qdisplay_line_numbers); |
| 32409 | DEFSYM (Qrelative, "relative"); | 32409 | DEFSYM (Qrelative, "relative"); |
| 32410 | 32410 | ||
| 32411 | DEFVAR_LISP ("display-line-width", Vdisplay_line_width, | 32411 | DEFVAR_LISP ("display-line-number-width", Vdisplay_line_number_width, |
| 32412 | doc: /* Minimum width of space reserved for line number display. | 32412 | doc: /* Minimum width of space reserved for line number display. |
| 32413 | A positive number means reserve that many columns for line numbers, | 32413 | A positive number means reserve that many columns for line numbers, |
| 32414 | even if the actual number needs less space. | 32414 | even if the actual number needs less space. |
| 32415 | The default value of nil means compute the space dynamically. | 32415 | The default value of nil means compute the space dynamically. |
| 32416 | Any other value is treated as nil. */); | 32416 | Any other value is treated as nil. */); |
| 32417 | Vdisplay_line_width = Qnil; | 32417 | Vdisplay_line_number_width = Qnil; |
| 32418 | 32418 | ||
| 32419 | DEFVAR_BOOL ("inhibit-eval-during-redisplay", inhibit_eval_during_redisplay, | 32419 | DEFVAR_BOOL ("inhibit-eval-during-redisplay", inhibit_eval_during_redisplay, |
| 32420 | doc: /* Non-nil means don't eval Lisp during redisplay. */); | 32420 | doc: /* Non-nil means don't eval Lisp during redisplay. */); |