emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 0e143b1: Documentation improvements for 'display-


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 0e143b1: Documentation improvements for 'display-line-numbers'
Date: Sat, 23 Sep 2017 03:07:38 -0400 (EDT)

branch: emacs-26
commit 0e143b1fc5d716cbc4509b416a1067b417df2676
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Documentation improvements for 'display-line-numbers'
    
    * doc/emacs/display.texi (Display Custom): Document a few more
    options for display-line-numbers.  (Bug#28533)  Fix a typo.
---
 doc/emacs/display.texi | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi
index 2aa79e1..f074e98 100644
--- a/doc/emacs/display.texi
+++ b/doc/emacs/display.texi
@@ -1756,7 +1756,7 @@ Any other address@hidden value is treated as @code{t}.
 @vindex display-line-numbers-type
 A convenient way of turning on display of line numbers is @address@hidden
 display-line-numbers-mode @key{RET}}}.  This mode has a globalized
-variant, @code{global-display-line0numbers-mode}.  The user option
+variant, @code{global-display-line-numbers-mode}.  The user option
 @code{display-line-numbers-type} controls which sub-mode of
 line-number display, described above, will these modes activate.
 
@@ -1778,6 +1778,17 @@ the variable @code{display-line-numbers-widen} to a 
address@hidden
 value, line numbers will disregard any narrowing and will start at the
 first character of the buffer.
 
address@hidden display-line-numbers-width-start
address@hidden display-line-numbers-grow-only
address@hidden display-line-numbers-width
+In selective display mode (@pxref{Selective Display}), and other modes
+that hide many lines from display (such as Outline and Org modes), you
+may wish to customize the variables
address@hidden and
address@hidden, or set
address@hidden to a large enough value, to avoid
+occasional miscalculations of space reserved for the line numbers.
+
 @cindex line-number face
 The line numbers are displayed in a special face @code{line-number}.
 The current line number is displayed in a different face,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]