]> code.delx.au - gnu-emacs/commitdiff
* frame.c (Fframe_height, Fframe_width): Fix doc strings to match
authorJim Blandy <jimb@redhat.com>
Mon, 15 Mar 1993 21:41:36 +0000 (21:41 +0000)
committerJim Blandy <jimb@redhat.com>
Mon, 15 Mar 1993 21:41:36 +0000 (21:41 +0000)
those of the multi-frame versions in frame.el.  Accept an optional
argument FRAME, also for consistency.

src/frame.c

index e75278bb7dff02e85b5311a486c446516c0b1fb0..32931ade8bbf918f2d2fb985be2f6bf78cf3e863 100644 (file)
@@ -1561,16 +1561,20 @@ DEFUN ("set-frame-size", Fset_frame_size, Sset_frame_size, 3, 3, 0,
   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));
 }