From cfb0f1c07ca97536fdc0e472e0f14c38c982df2b Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 30 Dec 2020 03:30:56 +0100 Subject: [PATCH] Add caveat about the `long' `mode-line-compact' setting * doc/lispref/modes.texi (Mode Line Basics): Elaborate on the `long' setting. --- doc/lispref/modes.texi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 40edc90a6af..5ac33691c91 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi @@ -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 -- 2.39.5