diff src/frame.c @ 2207:d3eca6fffc5c

* frame.c (Fframe_height, Fframe_width): Fix doc strings to match those of the multi-frame versions in frame.el. Accept an optional argument FRAME, also for consistency.
author Jim Blandy <jimb@redhat.com>
date Mon, 15 Mar 1993 21:41:36 +0000
parents 468df2d7e371
children f727944c11aa
line wrap: on
line diff
--- a/src/frame.c	Mon Mar 15 20:40:34 1993 +0000
+++ b/src/frame.c	Mon Mar 15 21:41:36 1993 +0000
@@ -1561,16 +1561,20 @@
   return Qnil;
 }
 
-DEFUN ("frame-height", Fframe_height, Sframe_height, 0, 0, 0,
-  "Return number of lines available for display on selected frame.")
-  ()
+DEFUN ("frame-height", Fframe_height, Sframe_height, 0, 1, 0,
+  "Return number of lines available for display on FRAME.\n\
+If FRAME is omitted, describe the currently selected frame.")
+  (frame)
+    Lisp_Object frame;
 {
   return make_number (FRAME_HEIGHT (selected_frame));
 }
 
-DEFUN ("frame-width", Fframe_width, Sframe_width, 0, 0, 0,
-  "Return number of columns available for display on selected frame.")
-  ()
+DEFUN ("frame-width", Fframe_width, Sframe_width, 0, 1, 0,
+  "Return number of columns available for display on FRAME.\n\
+If FRAME is omitted, describe the currently selected frame.")
+  (frame)
+    Lisp_Object frame;
 {
   return make_number (FRAME_WIDTH (selected_frame));
 }