]> git.eshelyaron.com Git - emacs.git/commitdiff
Add caveat about the `long' `mode-line-compact' setting
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 30 Dec 2020 02:30:56 +0000 (03:30 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 30 Dec 2020 02:31:01 +0000 (03:31 +0100)
* doc/lispref/modes.texi (Mode Line Basics): Elaborate on the
`long' setting.

doc/lispref/modes.texi

index 40edc90a6af53aefbc5a772d885f2464b4c16272..5ac33691c9171f121ed663df3142203761250eab 100644 (file)
@@ -1936,8 +1936,10 @@ the end of the mode line off to the right.  Emacs can ``compress'' the
 mode line if the @code{mode-line-compact} variable is non-@code{nil}
 by turning stretches of spaces into a single space.  If this variable
 is @code{long}, this is only done when the mode line is wider than the
-currently selected window.  This variable can be buffer-local to only
-compress mode-lines in certain buffers.
+currently selected window.  (This computation is approximate, based on
+the number of characters, and not their displayed width.)  This
+variable can be buffer-local to only compress mode-lines in certain
+buffers.
 
 @node Mode Line Data
 @subsection The Data Structure of the Mode Line