aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2016-03-26 10:17:12 +0300
committerEli Zaretskii2016-03-26 10:17:12 +0300
commit8ee4c52abc98e6522d812a29cfe57ffbdeb98144 (patch)
tree460fdd7e8c21f5b2e2d044006808fdcf05f6253d /src
parentfb9a62c9c454df1a5c24b76b5d17ac13721f04d2 (diff)
downloademacs-8ee4c52abc98e6522d812a29cfe57ffbdeb98144.tar.gz
emacs-8ee4c52abc98e6522d812a29cfe57ffbdeb98144.zip
Improve documentatuon of 'truncate-partial-width-windows'
* src/xdisp.c (syms_of_xdisp) <truncate-partial-width-windows>: Clarify in the doc string how the width of partial-width windows is computed for the purposes of truncation decision. (Bug#4338) * doc/emacs/windows.texi (Split Window): Clarify how the width of windows is calculated for the purposes of truncation decision. * doc/emacs/display.texi (Line Truncation): Remove a redundant index entry.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index d6ee2de8f39..d701306b22c 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -31422,8 +31422,11 @@ Value is a number or a cons (WIDTH-DPI . HEIGHT-DPI). */);
31422 Vtruncate_partial_width_windows, 31422 Vtruncate_partial_width_windows,
31423 doc: /* Non-nil means truncate lines in windows narrower than the frame. 31423 doc: /* Non-nil means truncate lines in windows narrower than the frame.
31424For an integer value, truncate lines in each window narrower than the 31424For an integer value, truncate lines in each window narrower than the
31425full frame width, provided the window width is less than that integer; 31425full frame width, provided the total window width in column units is less
31426otherwise, respect the value of `truncate-lines'. 31426than that integer; otherwise, respect the value of `truncate-lines'.
31427The total width of the window is as returned by `window-total-width', it
31428includes the fringes, the continuation and truncation glyphs, the
31429display margins (if any), and the scroll bar
31427 31430
31428For any other non-nil value, truncate lines in all windows that do 31431For any other non-nil value, truncate lines in all windows that do
31429not span the full frame width. 31432not span the full frame width.