From 8596361bb3a005394db8328d8f0a6df0cb91b5cc Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 18 Dec 2014 19:15:01 +0200 Subject: [PATCH] src/window.c (Fwindow_body_width): Doc fix. (Bug#19395) --- src/ChangeLog | 4 ++++ src/window.c | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 861ba91c275..8680c5e231b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -253,6 +253,10 @@ * xterm.c (do_ewmh_fullscreen): Don't remove maximized_horz/vert when going to fullscreen (Bug#0x180004f). +2014-12-27 Eli Zaretskii + + * window.c (Fwindow_body_width): Doc fix. (Bug#19395) + 2014-12-27 Stefan Monnier * buffer.c (syms_of_buffer) : fix docstring. diff --git a/src/window.c b/src/window.c index b508988953f..1d2221fd9b2 100644 --- a/src/window.c +++ b/src/window.c @@ -974,7 +974,10 @@ or scroll bars. If PIXELWISE is nil, return the largest integer smaller than WINDOW's pixel width divided by the character width of WINDOW's frame. This means that if a column at the right of the text area is only partially -visible, that column is not counted. */) +visible, that column is not counted. + +Note that the returned value includes the column reserved for the +continuation glyph. */) (Lisp_Object window, Lisp_Object pixelwise) { return make_number (window_body_width (decode_live_window (window), -- 2.39.2