comparison src/frame.c @ 11794:c5c6af0e8074

[!MULTI_FRAME] (Fframe_height, Frame_width): Delete extra docstring.
author Karl Heuer <kwzh@gnu.org>
date Thu, 11 May 1995 22:18:01 +0000
parents 6234b3610a6f
children 3ca56969ba07
comparison
equal deleted inserted replaced
11793:6060e368ff05 11794:c5c6af0e8074
2072 2072
2073 return Qnil; 2073 return Qnil;
2074 } 2074 }
2075 2075
2076 DEFUN ("frame-height", Fframe_height, Sframe_height, 0, 1, 0, 2076 DEFUN ("frame-height", Fframe_height, Sframe_height, 0, 1, 0,
2077 "Return number of lines available for display on FRAME.\n\ 2077 /* Don't confuse make-docfile by having two doc strings for this function.
2078 If FRAME is omitted, describe the currently selected frame.") 2078 make-docfile does not pay attention to #if, for good reason! */
2079 0)
2079 (frame) 2080 (frame)
2080 Lisp_Object frame; 2081 Lisp_Object frame;
2081 { 2082 {
2082 return make_number (FRAME_HEIGHT (selected_frame)); 2083 return make_number (FRAME_HEIGHT (selected_frame));
2083 } 2084 }
2084 2085
2085 DEFUN ("frame-width", Fframe_width, Sframe_width, 0, 1, 0, 2086 DEFUN ("frame-width", Fframe_width, Sframe_width, 0, 1, 0,
2086 "Return number of columns available for display on FRAME.\n\ 2087 /* Don't confuse make-docfile by having two doc strings for this function.
2087 If FRAME is omitted, describe the currently selected frame.") 2088 make-docfile does not pay attention to #if, for good reason! */
2089 0)
2088 (frame) 2090 (frame)
2089 Lisp_Object frame; 2091 Lisp_Object frame;
2090 { 2092 {
2091 return make_number (FRAME_WIDTH (selected_frame)); 2093 return make_number (FRAME_WIDTH (selected_frame));
2092 } 2094 }
2137 } 2139 }
2138 2140
2139 /* These are for backward compatibility with Emacs 18. */ 2141 /* These are for backward compatibility with Emacs 18. */
2140 2142
2141 DEFUN ("set-screen-height", Fset_screen_height, Sset_screen_height, 1, 2, 0, 2143 DEFUN ("set-screen-height", Fset_screen_height, Sset_screen_height, 1, 2, 0,
2142 "Tell redisplay that the screen has LINES lines.\n\ 2144 /* Don't confuse make-docfile by having two doc strings for this function.
2143 Optional second arg non-nil means that redisplay should use LINES lines\n\ 2145 make-docfile does not pay attention to #if, for good reason! */
2144 but that the idea of the actual height of the screen should not be changed.") 2146 0)
2145 (lines, pretend) 2147 (lines, pretend)
2146 Lisp_Object lines, pretend; 2148 Lisp_Object lines, pretend;
2147 { 2149 {
2148 CHECK_NUMBER (lines, 0); 2150 CHECK_NUMBER (lines, 0);
2149 2151
2150 change_frame_size (0, XINT (lines), 0, !NILP (pretend), 0); 2152 change_frame_size (0, XINT (lines), 0, !NILP (pretend), 0);
2151 return Qnil; 2153 return Qnil;
2152 } 2154 }
2153 2155
2154 DEFUN ("set-screen-width", Fset_screen_width, Sset_screen_width, 1, 2, 0, 2156 DEFUN ("set-screen-width", Fset_screen_width, Sset_screen_width, 1, 2, 0,
2155 "Tell redisplay that the screen has COLS columns.\n\ 2157 /* Don't confuse make-docfile by having two doc strings for this function.
2156 Optional second arg non-nil means that redisplay should use COLS columns\n\ 2158 make-docfile does not pay attention to #if, for good reason! */
2157 but that the idea of the actual width of the screen should not be changed.") 2159 0)
2158 (cols, pretend) 2160 (cols, pretend)
2159 Lisp_Object cols, pretend; 2161 Lisp_Object cols, pretend;
2160 { 2162 {
2161 CHECK_NUMBER (cols, 0); 2163 CHECK_NUMBER (cols, 0);
2162 2164
2302 staticpro (&Qmenu_bar_lines); 2304 staticpro (&Qmenu_bar_lines);
2303 Qwidth = intern ("width"); 2305 Qwidth = intern ("width");
2304 staticpro (&Qwidth); 2306 staticpro (&Qwidth);
2305 2307
2306 DEFVAR_LISP ("terminal-frame", &Vterminal_frame, 2308 DEFVAR_LISP ("terminal-frame", &Vterminal_frame,
2307 "The initial frame-object, which represents Emacs's stdout."); 2309 /* Don't confuse make-docfile by having two doc strings for this variable.
2310 make-docfile does not pay attention to #if, for good reason! */
2311 0);
2308 XSETFASTINT (Vterminal_frame, 0); 2312 XSETFASTINT (Vterminal_frame, 0);
2309 2313
2310 defsubr (&Sselected_frame); 2314 defsubr (&Sselected_frame);
2311 defsubr (&Swindow_frame); 2315 defsubr (&Swindow_frame);
2312 defsubr (&Sframe_first_window); 2316 defsubr (&Sframe_first_window);