[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#4334: 23.1.50; truncate-partial-width-windows documentation problem
From: |
Stefan Monnier |
Subject: |
bug#4334: 23.1.50; truncate-partial-width-windows documentation problem |
Date: |
Fri, 04 Sep 2009 13:42:53 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
> There's this variable truncate-partial-width-windows in emacs 23.1.
I agree it's not perfect.
Does the patch below make it more clear for you?
Stefan
=== modified file 'src/xdisp.c'
--- src/xdisp.c 2009-08-30 01:04:59 +0000
+++ src/xdisp.c 2009-09-04 17:42:00 +0000
@@ -24838,13 +24838,13 @@
DEFVAR_LISP ("truncate-partial-width-windows",
&Vtruncate_partial_width_windows,
- doc: /* Non-nil means truncate lines in windows with less than the frame
width.
-For an integer value, truncate lines in each window with less than the
+ 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 window width is less than that integer;
otherwise, respect the value of `truncate-lines'.
-For any other non-nil value, truncate lines in all windows with
-less than the full frame width.
+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'.