Variable: truncate-partial-width-windows

truncate-partial-width-windows is a customizable variable defined in xdisp.c.

Value

50

Documentation

Non-nil means truncate lines in windows narrower than the frame.

For an integer value, truncate lines in each window narrower than the full frame width, provided the total window width in column units is less than that integer; otherwise, respect the value of truncate-lines. The total width of the window is as returned by window-total-width, it includes the fringes, the continuation and truncation glyphs, the display margins (if any), and the scroll bar

For any other non-nil value, truncate lines in all windows that do not span the full frame width.

A value of nil means to respect the value of truncate-lines.

If word-wrap is enabled, you might want to reduce the value of this.

Don't set this to a non-nil value when visual-line-mode(var)/visual-line-mode(fun) is turned on, as it could produce confusing results.

This variable was added, or its default value changed, in Emacs 23.1.

View in manual

Probably introduced at or before Emacs version 15.

Source Code

// Defined in /usr/src/emacs/src/xdisp.c
  DEFVAR_LISP ("truncate-partial-width-windows",
	       Vtruncate_partial_width_windows,
    doc: /* Non-nil means truncate lines in windows narrower than the frame.
For an integer value, truncate lines in each window narrower than the
full frame width, provided the total window width in column units is less
than that integer; otherwise, respect the value of `truncate-lines'.
The total width of the window is as returned by `window-total-width', it
includes the fringes, the continuation and truncation glyphs, the
display margins (if any), and the scroll bar

For any other non-nil value, truncate lines in all windows that do
not span the full frame width.

A value of nil means to respect the value of `truncate-lines'.

If `word-wrap' is enabled, you might want to reduce the value of this.

Don't set this to a non-nil value when `visual-line-mode' is
turned on, as it could produce confusing results.  */);