diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2008-11-26 05:07:49 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2008-11-26 05:07:49 +0000 |
commit | fafeffcfcbeeabea7597d63db69e3ced632dfe36 (patch) | |
tree | 5377c9ccab47debd7f42201824881cf62800245c /doc/emacs/windows.texi | |
parent | c366b4e4464e1e1c4e6813e768cdd8421bc18799 (diff) |
(Split Window): Document integer values of
truncate-partial-width-windows.
Diffstat (limited to 'doc/emacs/windows.texi')
-rw-r--r-- | doc/emacs/windows.texi | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/doc/emacs/windows.texi b/doc/emacs/windows.texi index 110c732f61..509ee53e23 100644 --- a/doc/emacs/windows.texi +++ b/doc/emacs/windows.texi @@ -107,12 +107,20 @@ scroll bar, the mode line of the split window is side by side with your click. @vindex truncate-partial-width-windows - When a window is less than the full width, text lines too long to -fit are frequent. Continuing all those lines might be confusing, so -if the variable @code{truncate-partial-width-windows} is -non-@code{nil}, that forces truncation in all windows less than the -full width of the screen, independent of the buffer being displayed -and its value for @code{truncate-lines}. @xref{Line Truncation}. + When a window occupies less than the full width of the frame, it may +become too narrow for most of the text lines in its buffer. If most +of its lines are continued, the buffer may become difficult to read. +Therefore, Emacs automatically truncates lines if the window width +becomes narrower than 50 columns. This truncation occurs regardless +of the value of the variable @code{truncate-lines} (@pxref{Line +Truncation}); it is instead controlled by the variable +@code{truncate-partial-width-windows}. If the value of +@code{truncate-partial-width-windows} is a positive integer (the +default is 50), that specifies the minimum width for a partial-width +window before automatic line truncation occurs; if the value is +@code{nil}, automatic line truncation is disabled; and for any other +non-@code{nil} value, Emacs truncates lines in every partial-width +window regardless of its width. Horizontal scrolling is often used in side-by-side windows. @xref{Horizontal Scrolling}. |