diff options
author | Eli Zaretskii <eliz@gnu.org> | 2017-06-30 17:33:06 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-06-30 17:33:06 +0300 |
commit | e83b128a8195e5c63f12832decf70c2953821dc0 (patch) | |
tree | 933b90c76986739fba509c6ed720fc1cbd01dd86 /src/xdisp.c | |
parent | 7a762fbbfc1c05be8de3d253251f5e7b32da2c73 (diff) | |
download | emacs-e83b128a8195e5c63f12832decf70c2953821dc0.tar.gz |
Add documentation for display-line-numbers
* doc/emacs/custom.texi (Init Rebinding):
* doc/emacs/modes.texi (Minor Modes): Remove references to
linum-mode.
* doc/emacs/display.texi (Display Custom): Describe the
line-number display.
(Optional Mode Line): Fix the index entry to not conflict with
that in "Display Custom".
* doc/emacs/basic.texi (Position Info): Add cross-reference to
"Display Custom", for line-number display.
* src/xdisp.c (syms_of_xdisp): <display-line-numbers>: Mention
display-line-numbers-disable in the doc string.
* lisp/cus-start.el (standard): Fix lst change.
Diffstat (limited to 'src/xdisp.c')
-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 7851487e74e..bcd7d33332f 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -32567,7 +32567,12 @@ To add a prefix to continuation lines, use `wrap-prefix'. */); By default, line numbers are displayed before each non-continuation line that displays buffer text, i.e. after each newline that came from buffer text. However, if the value is `visual', every screen -line will have a number. */); +line will have a number. + +Lisp programs can disable display of a line number of a particular +screen line by putting the `display-line-numbers-disable' text +property or overlay property on the first visible character of +that line. */); Vdisplay_line_numbers = Qnil; DEFSYM (Qdisplay_line_numbers, "display-line-numbers"); Fmake_variable_buffer_local (Qdisplay_line_numbers); |