aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorRichard M. Stallman1994-03-08 00:09:03 +0000
committerRichard M. Stallman1994-03-08 00:09:03 +0000
commit3b5908ef6120f81b40934d9470258dafee211a0b (patch)
tree01754e8a2744b6e5f3c78866b0b6be8f5f4162ba /src/window.c
parent26d6bb604cffd7e7e0a0e1d7e04d6e0021914f01 (diff)
downloademacs-3b5908ef6120f81b40934d9470258dafee211a0b.tar.gz
emacs-3b5908ef6120f81b40934d9470258dafee211a0b.zip
(Fwindow_width): Doc fix.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index 8c64e6c698f..ac65cf39ea5 100644
--- a/src/window.c
+++ b/src/window.c
@@ -257,7 +257,10 @@ DEFUN ("window-height", Fwindow_height, Swindow_height, 0, 1, 0,
257} 257}
258 258
259DEFUN ("window-width", Fwindow_width, Swindow_width, 0, 1, 0, 259DEFUN ("window-width", Fwindow_width, Swindow_width, 0, 1, 0,
260 "Return the number of columns in WINDOW.") 260 "Return the number of display columns in WINDOW.\n\
261This is the width that is usable columns available for text in WINDOW.\n\
262If you want to find out how many columns WINDOW takes up,\n\
263use (let ((edges (window-edges))) (- (nth 2 edges) (nth 0 edges))).")
261 (window) 264 (window)
262 Lisp_Object window; 265 Lisp_Object window;
263{ 266{