aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/display.texi9
1 files changed, 9 insertions, 0 deletions
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.
1751Any other non-@code{nil} value is treated as @code{t}. 1751Any other non-@code{nil} value is treated as @code{t}.
1752@end table 1752@end table
1753 1753
1754@findex display-line-numbers-mode
1755@findex global-display-line-numbers-mode
1756@vindex display-line-numbers-type
1757A convenient way of turning on display of line numbers is @w{@kbd{M-x
1758display-line-numbers-mode @key{RET}}}. This mode has a globalized
1759variant, @code{global-display-line0numbers-mode}. The user option
1760@code{display-line-numbers-type} controls which sub-mode of
1761line-number display, described above, will these modes activate.
1762
1754@vindex display-line-numbers-current-absolute 1763@vindex display-line-numbers-current-absolute
1755When Emacs displays relative line numbers, you can control the number 1764When Emacs displays relative line numbers, you can control the number
1756displayed before the current line, the line showing point. By 1765displayed before the current line, the line showing point. By