diff options
| author | Eli Zaretskii | 2016-03-26 10:17:12 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2016-03-26 10:17:12 +0300 |
| commit | 8ee4c52abc98e6522d812a29cfe57ffbdeb98144 (patch) | |
| tree | 460fdd7e8c21f5b2e2d044006808fdcf05f6253d /src | |
| parent | fb9a62c9c454df1a5c24b76b5d17ac13721f04d2 (diff) | |
| download | emacs-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.c | 7 |
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. |
| 31424 | For an integer value, truncate lines in each window narrower than the | 31424 | For an integer value, truncate lines in each window narrower than the |
| 31425 | full frame width, provided the window width is less than that integer; | 31425 | full frame width, provided the total window width in column units is less |
| 31426 | otherwise, respect the value of `truncate-lines'. | 31426 | than that integer; otherwise, respect the value of `truncate-lines'. |
| 31427 | The total width of the window is as returned by `window-total-width', it | ||
| 31428 | includes the fringes, the continuation and truncation glyphs, the | ||
| 31429 | display margins (if any), and the scroll bar | ||
| 31427 | 31430 | ||
| 31428 | For any other non-nil value, truncate lines in all windows that do | 31431 | For any other non-nil value, truncate lines in all windows that do |
| 31429 | not span the full frame width. | 31432 | not span the full frame width. |