changeset 6242:ed4b06e1975b

(Fwindow_width): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Tue, 08 Mar 1994 00:09:03 +0000
parents 49538e6c482e
children 25d0943a4f4e
files src/window.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Mon Mar 07 23:24:02 1994 +0000
+++ b/src/window.c	Tue Mar 08 00:09:03 1994 +0000
@@ -257,7 +257,10 @@
 }
 
 DEFUN ("window-width", Fwindow_width, Swindow_width, 0, 1, 0,
-  "Return the number of columns in WINDOW.")
+  "Return the number of display columns in WINDOW.\n\
+This is the width that is usable columns available for text in WINDOW.\n\
+If you want to find out how many columns WINDOW takes up,\n\
+use  (let ((edges (window-edges))) (- (nth 2 edges) (nth 0 edges))).")
   (window)
      Lisp_Object window;
 {