diff options
| author | Eli Zaretskii | 2017-07-11 18:08:46 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-07-11 18:08:46 +0300 |
| commit | 373cef5fe19d72c3549495e566e3ac0996215f14 (patch) | |
| tree | 2964da26bae236064b85ff6a025e5764dbb2cd42 /src | |
| parent | 0bece6c6815cc59e181817a2765a4ea752f34f56 (diff) | |
| download | emacs-373cef5fe19d72c3549495e566e3ac0996215f14.tar.gz emacs-373cef5fe19d72c3549495e566e3ac0996215f14.zip | |
Improve documentation of display-line-numbers
* src/xdisp.c (syms_of_xdisp) <display-line-numbers>: Improve the
doc string. Suggested by Alex <agrambot@gmail.com>.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index abca6a8137a..eb7a9e5f09a 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -32686,7 +32686,12 @@ To add a prefix to continuation lines, use `wrap-prefix'. */); | |||
| 32686 | 32686 | ||
| 32687 | DEFVAR_LISP ("display-line-numbers", Vdisplay_line_numbers, | 32687 | DEFVAR_LISP ("display-line-numbers", Vdisplay_line_numbers, |
| 32688 | doc: /* Non-nil means display line numbers. | 32688 | doc: /* Non-nil means display line numbers. |
| 32689 | By default, line numbers are displayed before each non-continuation | 32689 | If the value is t, display absolute line numbers starting at the |
| 32690 | beginning of the current narrowing, or at buffer beginning. | ||
| 32691 | If the value is `relative', display line numbers relative to the | ||
| 32692 | line showing point. | ||
| 32693 | The value `visual' counts screen lines rather than physical line: | ||
| 32694 | by default, line numbers are displayed before each non-continuation | ||
| 32690 | line that displays buffer text, i.e. after each newline that came | 32695 | line that displays buffer text, i.e. after each newline that came |
| 32691 | from buffer text. However, if the value is `visual', every screen | 32696 | from buffer text. However, if the value is `visual', every screen |
| 32692 | line will have a number. | 32697 | line will have a number. |