aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1992-07-15 00:32:19 +0000
committerJim Blandy1992-07-15 00:32:19 +0000
commitdc6d96816db5f4f7b484e5e394501e5724c2d02f (patch)
treebcc0d5ce3ede2cf3b3da4d8b90c47723bdd82f86 /src
parente6dd9901bb92e21908bb8c3abf8cdfdcc54a6dd7 (diff)
downloademacs-dc6d96816db5f4f7b484e5e394501e5724c2d02f.tar.gz
emacs-dc6d96816db5f4f7b484e5e394501e5724c2d02f.zip
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/frame.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c
index 8482d1b3d14..57ffeda04b2 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1,3 +1,4 @@
1
1/* Generic frame functions. 2/* Generic frame functions.
2 Copyright (C) 1989, 1992 Free Software Foundation. 3 Copyright (C) 1989, 1992 Free Software Foundation.
3 4
@@ -884,7 +885,8 @@ store_frame_param (f, prop, val)
884DEFUN ("frame-parameters", Fframe_parameters, Sframe_parameters, 0, 1, 0, 885DEFUN ("frame-parameters", Fframe_parameters, Sframe_parameters, 0, 1, 0,
885 "Return the parameters-alist of frame FRAME.\n\ 886 "Return the parameters-alist of frame FRAME.\n\
886It is a list of elements of the form (PARM . VALUE), where PARM is a symbol.\n\ 887It is a list of elements of the form (PARM . VALUE), where PARM is a symbol.\n\
887The meaningful PARMs depend on the kind of frame.") 888The meaningful PARMs depend on the kind of frame.\n\
889If FRAME is omitted, return information on the currently selected frame.")
888 (frame) 890 (frame)
889 Lisp_Object frame; 891 Lisp_Object frame;
890{ 892{
@@ -953,6 +955,11 @@ The meaningful PARMs depend on the kind of frame; undefined PARMs are ignored.")
953} 955}
954 956
955 957
958#if 0
959/* This function isn't useful enough by itself to include; we need to
960 add functions to allow the user to find the size of a font before
961 this is actually useful. */
962
956DEFUN ("frame-pixel-size", Fframe_pixel_size, 963DEFUN ("frame-pixel-size", Fframe_pixel_size,
957 Sframe_pixel_size, 1, 1, 0, 964 Sframe_pixel_size, 1, 1, 0,
958 "Return a cons (width . height) of FRAME's size in pixels.") 965 "Return a cons (width . height) of FRAME's size in pixels.")
@@ -968,6 +975,10 @@ DEFUN ("frame-pixel-size", Fframe_pixel_size,
968 return Fcons (make_number (x_pixel_width (f)), 975 return Fcons (make_number (x_pixel_width (f)),
969 make_number (x_pixel_height (f))); 976 make_number (x_pixel_height (f)));
970} 977}
978#endif
979
980#if 0
981/* These functions have no C callers, and can be written nicely in lisp. */
971 982
972DEFUN ("frame-height", Fframe_height, Sframe_height, 0, 0, 0, 983DEFUN ("frame-height", Fframe_height, Sframe_height, 0, 0, 0,
973 "Return number of lines available for display on selected frame.") 984 "Return number of lines available for display on selected frame.")
@@ -982,6 +993,7 @@ DEFUN ("frame-width", Fframe_width, Sframe_width, 0, 0, 0,
982{ 993{
983 return make_number (FRAME_WIDTH (selected_frame)); 994 return make_number (FRAME_WIDTH (selected_frame));
984} 995}
996#endif
985 997
986DEFUN ("set-frame-height", Fset_frame_height, Sset_frame_height, 2, 3, 0, 998DEFUN ("set-frame-height", Fset_frame_height, Sset_frame_height, 2, 3, 0,
987 "Specify that the frame FRAME has LINES lines.\n\ 999 "Specify that the frame FRAME has LINES lines.\n\
@@ -1084,6 +1096,7 @@ off the frame.")
1084 1096
1085 return Qt; 1097 return Qt;
1086} 1098}
1099
1087 1100
1088#ifndef HAVE_X11 1101#ifndef HAVE_X11
1089DEFUN ("rubber-band-rectangle", Frubber_band_rectangle, Srubber_band_rectangle, 1102DEFUN ("rubber-band-rectangle", Frubber_band_rectangle, Srubber_band_rectangle,