From: Eli Zaretskii Date: Tue, 29 Aug 2017 16:13:19 +0000 (+0300) Subject: Minor improvement in documentation of display-line-numbers X-Git-Tag: emacs-26.0.90~316 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=573ccb9803f326a1ba309b131c6db77fa98191d3;p=emacs.git Minor improvement in documentation of display-line-numbers * doc/emacs/display.texi (Display Custom): Document the display-line-numbers-mode and related options. --- 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