From 573ccb9803f326a1ba309b131c6db77fa98191d3 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 29 Aug 2017 19:13:19 +0300 Subject: [PATCH] Minor improvement in documentation of display-line-numbers * doc/emacs/display.texi (Display Custom): Document the display-line-numbers-mode and related options. --- doc/emacs/display.texi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index 45cfb950f0a..2aa79e1161a 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi @@ -1751,6 +1751,15 @@ Mode}), and need to move by exact number of screen lines. Any other non-@code{nil} value is treated as @code{t}. @end table +@findex display-line-numbers-mode +@findex global-display-line-numbers-mode +@vindex display-line-numbers-type +A convenient way of turning on display of line numbers is @w{@kbd{M-x +display-line-numbers-mode @key{RET}}}. This mode has a globalized +variant, @code{global-display-line0numbers-mode}. The user option +@code{display-line-numbers-type} controls which sub-mode of +line-number display, described above, will these modes activate. + @vindex display-line-numbers-current-absolute When Emacs displays relative line numbers, you can control the number displayed before the current line, the line showing point. By -- 2.39.2