aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2008-11-26 05:07:49 +0000
committerChong Yidong2008-11-26 05:07:49 +0000
commitfafeffcfcbeeabea7597d63db69e3ced632dfe36 (patch)
tree5377c9ccab47debd7f42201824881cf62800245c
parentc366b4e4464e1e1c4e6813e768cdd8421bc18799 (diff)
downloademacs-fafeffcfcbeeabea7597d63db69e3ced632dfe36.tar.gz
emacs-fafeffcfcbeeabea7597d63db69e3ced632dfe36.zip
(Split Window): Document integer values of
truncate-partial-width-windows.
-rw-r--r--doc/emacs/windows.texi20
1 files changed, 14 insertions, 6 deletions
diff --git a/doc/emacs/windows.texi b/doc/emacs/windows.texi
index 110c732f61b..509ee53e234 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
107your click. 107your click.
108 108
109@vindex truncate-partial-width-windows 109@vindex truncate-partial-width-windows
110 When a window is less than the full width, text lines too long to 110 When a window occupies less than the full width of the frame, it may
111fit are frequent. Continuing all those lines might be confusing, so 111become too narrow for most of the text lines in its buffer. If most
112if the variable @code{truncate-partial-width-windows} is 112of its lines are continued, the buffer may become difficult to read.
113non-@code{nil}, that forces truncation in all windows less than the 113Therefore, Emacs automatically truncates lines if the window width
114full width of the screen, independent of the buffer being displayed 114becomes narrower than 50 columns. This truncation occurs regardless
115and its value for @code{truncate-lines}. @xref{Line Truncation}. 115of the value of the variable @code{truncate-lines} (@pxref{Line
116Truncation}); it is instead controlled by the variable
117@code{truncate-partial-width-windows}. If the value of
118@code{truncate-partial-width-windows} is a positive integer (the
119default is 50), that specifies the minimum width for a partial-width
120window before automatic line truncation occurs; if the value is
121@code{nil}, automatic line truncation is disabled; and for any other
122non-@code{nil} value, Emacs truncates lines in every partial-width
123window regardless of its width.
116 124
117 Horizontal scrolling is often used in side-by-side windows. 125 Horizontal scrolling is often used in side-by-side windows.
118@xref{Horizontal Scrolling}. 126@xref{Horizontal Scrolling}.