aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2004-06-02 22:59:11 +0000
committerJuanma Barranquero2004-06-02 22:59:11 +0000
commit52deb19f2472448f319e96b627bc8d84d86134fe (patch)
treed3052e9330af87908555ee3e5a09915ce7bcf4e4 /src
parent2d14d61e162b7e7d8d8515ccc40bb97a4edf433e (diff)
downloademacs-52deb19f2472448f319e96b627bc8d84d86134fe.tar.gz
emacs-52deb19f2472448f319e96b627bc8d84d86134fe.zip
(Fx_display_grayscale_p, Fw32_send_sys_command, Vw32_color_map):
Fix typo in docstring. (Fx_create_frame, Fw32_find_bdf_fonts, Fx_show_tip) (Fw32_unregister_hot_key, Fw32_reconstruct_hot_key): Make argument names match their use in docstring.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog8
-rw-r--r--src/w32fns.c113
2 files changed, 65 insertions, 56 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 260d0cf3b53..fd108641f22 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,11 @@
12004-06-03 Juanma Barranquero <lektu@terra.es>
2
3 * w32fns.c (Fx_display_grayscale_p, Fw32_send_sys_command)
4 (Vw32_color_map): Fix typo in docstring.
5 (Fx_create_frame, Fw32_find_bdf_fonts, Fx_show_tip)
6 (Fw32_unregister_hot_key, Fw32_reconstruct_hot_key):
7 Make argument names match their use in docstring.
8
12004-06-02 Juanma Barranquero <lektu@terra.es> 92004-06-02 Juanma Barranquero <lektu@terra.es>
2 10
3 Work around bugs/problems with MinGW builds of graphics libraries 11 Work around bugs/problems with MinGW builds of graphics libraries
diff --git a/src/w32fns.c b/src/w32fns.c
index c0c66a9591e..e7ead136ced 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -1,5 +1,5 @@
1/* Graphical user interface functions for the Microsoft W32 API. 1/* Graphical user interface functions for the Microsoft W32 API.
2 Copyright (C) 1989, 92, 93, 94, 95, 96, 97, 98, 1999, 2000, 01, 2004 2 Copyright (C) 1989, 1992, 93, 94, 95, 96, 97, 98, 99, 2000, 01, 04
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
@@ -4045,15 +4045,15 @@ DEFUN ("x-create-frame", Fx_create_frame, Sx_create_frame,
4045 1, 1, 0, 4045 1, 1, 0,
4046 doc: /* Make a new window, which is called a \"frame\" in Emacs terms. 4046 doc: /* Make a new window, which is called a \"frame\" in Emacs terms.
4047Returns an Emacs frame object. 4047Returns an Emacs frame object.
4048ALIST is an alist of frame parameters. 4048PARAMETERS is an alist of frame parameters.
4049If the parameters specify that the frame should not have a minibuffer, 4049If the parameters specify that the frame should not have a minibuffer,
4050and do not specify a specific minibuffer window to use, 4050and do not specify a specific minibuffer window to use,
4051then `default-minibuffer-frame' must be a frame whose minibuffer can 4051then `default-minibuffer-frame' must be a frame whose minibuffer can
4052be shared by the new frame. 4052be shared by the new frame.
4053 4053
4054This function is an internal primitive--use `make-frame' instead. */) 4054This function is an internal primitive--use `make-frame' instead. */)
4055 (parms) 4055 (parameters)
4056 Lisp_Object parms; 4056 Lisp_Object parameters;
4057{ 4057{
4058 struct frame *f; 4058 struct frame *f;
4059 Lisp_Object frame, tem; 4059 Lisp_Object frame, tem;
@@ -4074,7 +4074,7 @@ This function is an internal primitive--use `make-frame' instead. */)
4074 until we know if this frame has a specified name. */ 4074 until we know if this frame has a specified name. */
4075 Vx_resource_name = Vinvocation_name; 4075 Vx_resource_name = Vinvocation_name;
4076 4076
4077 display = w32_get_arg (parms, Qdisplay, 0, 0, RES_TYPE_STRING); 4077 display = w32_get_arg (parameters, Qdisplay, 0, 0, RES_TYPE_STRING);
4078 if (EQ (display, Qunbound)) 4078 if (EQ (display, Qunbound))
4079 display = Qnil; 4079 display = Qnil;
4080 dpyinfo = check_x_display_info (display); 4080 dpyinfo = check_x_display_info (display);
@@ -4084,7 +4084,7 @@ This function is an internal primitive--use `make-frame' instead. */)
4084 kb = &the_only_kboard; 4084 kb = &the_only_kboard;
4085#endif 4085#endif
4086 4086
4087 name = w32_get_arg (parms, Qname, "name", "Name", RES_TYPE_STRING); 4087 name = w32_get_arg (parameters, Qname, "name", "Name", RES_TYPE_STRING);
4088 if (!STRINGP (name) 4088 if (!STRINGP (name)
4089 && ! EQ (name, Qunbound) 4089 && ! EQ (name, Qunbound)
4090 && ! NILP (name)) 4090 && ! NILP (name))
@@ -4094,7 +4094,7 @@ This function is an internal primitive--use `make-frame' instead. */)
4094 Vx_resource_name = name; 4094 Vx_resource_name = name;
4095 4095
4096 /* See if parent window is specified. */ 4096 /* See if parent window is specified. */
4097 parent = w32_get_arg (parms, Qparent_id, NULL, NULL, RES_TYPE_NUMBER); 4097 parent = w32_get_arg (parameters, Qparent_id, NULL, NULL, RES_TYPE_NUMBER);
4098 if (EQ (parent, Qunbound)) 4098 if (EQ (parent, Qunbound))
4099 parent = Qnil; 4099 parent = Qnil;
4100 if (! NILP (parent)) 4100 if (! NILP (parent))
@@ -4104,8 +4104,8 @@ This function is an internal primitive--use `make-frame' instead. */)
4104 /* No need to protect DISPLAY because that's not used after passing 4104 /* No need to protect DISPLAY because that's not used after passing
4105 it to make_frame_without_minibuffer. */ 4105 it to make_frame_without_minibuffer. */
4106 frame = Qnil; 4106 frame = Qnil;
4107 GCPRO4 (parms, parent, name, frame); 4107 GCPRO4 (parameters, parent, name, frame);
4108 tem = w32_get_arg (parms, Qminibuffer, "minibuffer", "Minibuffer", 4108 tem = w32_get_arg (parameters, Qminibuffer, "minibuffer", "Minibuffer",
4109 RES_TYPE_SYMBOL); 4109 RES_TYPE_SYMBOL);
4110 if (EQ (tem, Qnone) || NILP (tem)) 4110 if (EQ (tem, Qnone) || NILP (tem))
4111 f = make_frame_without_minibuffer (Qnil, kb, display); 4111 f = make_frame_without_minibuffer (Qnil, kb, display);
@@ -4135,7 +4135,7 @@ This function is an internal primitive--use `make-frame' instead. */)
4135 record_unwind_protect (unwind_create_frame, frame); 4135 record_unwind_protect (unwind_create_frame, frame);
4136 4136
4137 f->icon_name 4137 f->icon_name
4138 = w32_get_arg (parms, Qicon_name, "iconName", "Title", RES_TYPE_STRING); 4138 = w32_get_arg (parameters, Qicon_name, "iconName", "Title", RES_TYPE_STRING);
4139 if (! STRINGP (f->icon_name)) 4139 if (! STRINGP (f->icon_name))
4140 f->icon_name = Qnil; 4140 f->icon_name = Qnil;
4141 4141
@@ -4177,7 +4177,7 @@ This function is an internal primitive--use `make-frame' instead. */)
4177 { 4177 {
4178 Lisp_Object font; 4178 Lisp_Object font;
4179 4179
4180 font = w32_get_arg (parms, Qfont, "font", "Font", RES_TYPE_STRING); 4180 font = w32_get_arg (parameters, Qfont, "font", "Font", RES_TYPE_STRING);
4181 4181
4182 BLOCK_INPUT; 4182 BLOCK_INPUT;
4183 /* First, try whatever font the caller has specified. */ 4183 /* First, try whatever font the caller has specified. */
@@ -4201,49 +4201,49 @@ This function is an internal primitive--use `make-frame' instead. */)
4201 if (! STRINGP (font)) 4201 if (! STRINGP (font))
4202 font = build_string ("Fixedsys"); 4202 font = build_string ("Fixedsys");
4203 4203
4204 x_default_parameter (f, parms, Qfont, font, 4204 x_default_parameter (f, parameters, Qfont, font,
4205 "font", "Font", RES_TYPE_STRING); 4205 "font", "Font", RES_TYPE_STRING);
4206 } 4206 }
4207 4207
4208 x_default_parameter (f, parms, Qborder_width, make_number (2), 4208 x_default_parameter (f, parameters, Qborder_width, make_number (2),
4209 "borderWidth", "BorderWidth", RES_TYPE_NUMBER); 4209 "borderWidth", "BorderWidth", RES_TYPE_NUMBER);
4210 /* This defaults to 2 in order to match xterm. We recognize either 4210 /* This defaults to 2 in order to match xterm. We recognize either
4211 internalBorderWidth or internalBorder (which is what xterm calls 4211 internalBorderWidth or internalBorder (which is what xterm calls
4212 it). */ 4212 it). */
4213 if (NILP (Fassq (Qinternal_border_width, parms))) 4213 if (NILP (Fassq (Qinternal_border_width, parameters)))
4214 { 4214 {
4215 Lisp_Object value; 4215 Lisp_Object value;
4216 4216
4217 value = w32_get_arg (parms, Qinternal_border_width, 4217 value = w32_get_arg (parameters, Qinternal_border_width,
4218 "internalBorder", "InternalBorder", RES_TYPE_NUMBER); 4218 "internalBorder", "InternalBorder", RES_TYPE_NUMBER);
4219 if (! EQ (value, Qunbound)) 4219 if (! EQ (value, Qunbound))
4220 parms = Fcons (Fcons (Qinternal_border_width, value), 4220 parameters = Fcons (Fcons (Qinternal_border_width, value),
4221 parms); 4221 parameters);
4222 } 4222 }
4223 /* Default internalBorderWidth to 0 on Windows to match other programs. */ 4223 /* Default internalBorderWidth to 0 on Windows to match other programs. */
4224 x_default_parameter (f, parms, Qinternal_border_width, make_number (0), 4224 x_default_parameter (f, parameters, Qinternal_border_width, make_number (0),
4225 "internalBorderWidth", "InternalBorder", RES_TYPE_NUMBER); 4225 "internalBorderWidth", "InternalBorder", RES_TYPE_NUMBER);
4226 x_default_parameter (f, parms, Qvertical_scroll_bars, Qright, 4226 x_default_parameter (f, parameters, Qvertical_scroll_bars, Qright,
4227 "verticalScrollBars", "ScrollBars", RES_TYPE_SYMBOL); 4227 "verticalScrollBars", "ScrollBars", RES_TYPE_SYMBOL);
4228 4228
4229 /* Also do the stuff which must be set before the window exists. */ 4229 /* Also do the stuff which must be set before the window exists. */
4230 x_default_parameter (f, parms, Qforeground_color, build_string ("black"), 4230 x_default_parameter (f, parameters, Qforeground_color, build_string ("black"),
4231 "foreground", "Foreground", RES_TYPE_STRING); 4231 "foreground", "Foreground", RES_TYPE_STRING);
4232 x_default_parameter (f, parms, Qbackground_color, build_string ("white"), 4232 x_default_parameter (f, parameters, Qbackground_color, build_string ("white"),
4233 "background", "Background", RES_TYPE_STRING); 4233 "background", "Background", RES_TYPE_STRING);
4234 x_default_parameter (f, parms, Qmouse_color, build_string ("black"), 4234 x_default_parameter (f, parameters, Qmouse_color, build_string ("black"),
4235 "pointerColor", "Foreground", RES_TYPE_STRING); 4235 "pointerColor", "Foreground", RES_TYPE_STRING);
4236 x_default_parameter (f, parms, Qcursor_color, build_string ("black"), 4236 x_default_parameter (f, parameters, Qcursor_color, build_string ("black"),
4237 "cursorColor", "Foreground", RES_TYPE_STRING); 4237 "cursorColor", "Foreground", RES_TYPE_STRING);
4238 x_default_parameter (f, parms, Qborder_color, build_string ("black"), 4238 x_default_parameter (f, parameters, Qborder_color, build_string ("black"),
4239 "borderColor", "BorderColor", RES_TYPE_STRING); 4239 "borderColor", "BorderColor", RES_TYPE_STRING);
4240 x_default_parameter (f, parms, Qscreen_gamma, Qnil, 4240 x_default_parameter (f, parameters, Qscreen_gamma, Qnil,
4241 "screenGamma", "ScreenGamma", RES_TYPE_FLOAT); 4241 "screenGamma", "ScreenGamma", RES_TYPE_FLOAT);
4242 x_default_parameter (f, parms, Qline_spacing, Qnil, 4242 x_default_parameter (f, parameters, Qline_spacing, Qnil,
4243 "lineSpacing", "LineSpacing", RES_TYPE_NUMBER); 4243 "lineSpacing", "LineSpacing", RES_TYPE_NUMBER);
4244 x_default_parameter (f, parms, Qleft_fringe, Qnil, 4244 x_default_parameter (f, parameters, Qleft_fringe, Qnil,
4245 "leftFringe", "LeftFringe", RES_TYPE_NUMBER); 4245 "leftFringe", "LeftFringe", RES_TYPE_NUMBER);
4246 x_default_parameter (f, parms, Qright_fringe, Qnil, 4246 x_default_parameter (f, parameters, Qright_fringe, Qnil,
4247 "rightFringe", "RightFringe", RES_TYPE_NUMBER); 4247 "rightFringe", "RightFringe", RES_TYPE_NUMBER);
4248 4248
4249 4249
@@ -4255,16 +4255,16 @@ This function is an internal primitive--use `make-frame' instead. */)
4255 happen. */ 4255 happen. */
4256 init_frame_faces (f); 4256 init_frame_faces (f);
4257 4257
4258 x_default_parameter (f, parms, Qmenu_bar_lines, make_number (1), 4258 x_default_parameter (f, parameters, Qmenu_bar_lines, make_number (1),
4259 "menuBar", "MenuBar", RES_TYPE_NUMBER); 4259 "menuBar", "MenuBar", RES_TYPE_NUMBER);
4260 x_default_parameter (f, parms, Qtool_bar_lines, make_number (1), 4260 x_default_parameter (f, parameters, Qtool_bar_lines, make_number (1),
4261 "toolBar", "ToolBar", RES_TYPE_NUMBER); 4261 "toolBar", "ToolBar", RES_TYPE_NUMBER);
4262 4262
4263 x_default_parameter (f, parms, Qbuffer_predicate, Qnil, 4263 x_default_parameter (f, parameters, Qbuffer_predicate, Qnil,
4264 "bufferPredicate", "BufferPredicate", RES_TYPE_SYMBOL); 4264 "bufferPredicate", "BufferPredicate", RES_TYPE_SYMBOL);
4265 x_default_parameter (f, parms, Qtitle, Qnil, 4265 x_default_parameter (f, parameters, Qtitle, Qnil,
4266 "title", "Title", RES_TYPE_STRING); 4266 "title", "Title", RES_TYPE_STRING);
4267 x_default_parameter (f, parms, Qfullscreen, Qnil, 4267 x_default_parameter (f, parameters, Qfullscreen, Qnil,
4268 "fullscreen", "Fullscreen", RES_TYPE_SYMBOL); 4268 "fullscreen", "Fullscreen", RES_TYPE_SYMBOL);
4269 4269
4270 f->output_data.w32->dwStyle = WS_OVERLAPPEDWINDOW; 4270 f->output_data.w32->dwStyle = WS_OVERLAPPEDWINDOW;
@@ -4277,13 +4277,13 @@ This function is an internal primitive--use `make-frame' instead. */)
4277 f->output_data.w32->hourglass_cursor = w32_load_cursor (IDC_WAIT); 4277 f->output_data.w32->hourglass_cursor = w32_load_cursor (IDC_WAIT);
4278 f->output_data.w32->horizontal_drag_cursor = w32_load_cursor (IDC_SIZEWE); 4278 f->output_data.w32->horizontal_drag_cursor = w32_load_cursor (IDC_SIZEWE);
4279 4279
4280 window_prompting = x_figure_window_size (f, parms, 1); 4280 window_prompting = x_figure_window_size (f, parameters, 1);
4281 4281
4282 tem = w32_get_arg (parms, Qunsplittable, 0, 0, RES_TYPE_BOOLEAN); 4282 tem = w32_get_arg (parameters, Qunsplittable, 0, 0, RES_TYPE_BOOLEAN);
4283 f->no_split = minibuffer_only || EQ (tem, Qt); 4283 f->no_split = minibuffer_only || EQ (tem, Qt);
4284 4284
4285 w32_window (f, window_prompting, minibuffer_only); 4285 w32_window (f, window_prompting, minibuffer_only);
4286 x_icon (f, parms); 4286 x_icon (f, parameters);
4287 4287
4288 x_make_gc (f); 4288 x_make_gc (f);
4289 4289
@@ -4293,16 +4293,16 @@ This function is an internal primitive--use `make-frame' instead. */)
4293 4293
4294 /* We need to do this after creating the window, so that the 4294 /* We need to do this after creating the window, so that the
4295 icon-creation functions can say whose icon they're describing. */ 4295 icon-creation functions can say whose icon they're describing. */
4296 x_default_parameter (f, parms, Qicon_type, Qnil, 4296 x_default_parameter (f, parameters, Qicon_type, Qnil,
4297 "bitmapIcon", "BitmapIcon", RES_TYPE_SYMBOL); 4297 "bitmapIcon", "BitmapIcon", RES_TYPE_SYMBOL);
4298 4298
4299 x_default_parameter (f, parms, Qauto_raise, Qnil, 4299 x_default_parameter (f, parameters, Qauto_raise, Qnil,
4300 "autoRaise", "AutoRaiseLower", RES_TYPE_BOOLEAN); 4300 "autoRaise", "AutoRaiseLower", RES_TYPE_BOOLEAN);
4301 x_default_parameter (f, parms, Qauto_lower, Qnil, 4301 x_default_parameter (f, parameters, Qauto_lower, Qnil,
4302 "autoLower", "AutoRaiseLower", RES_TYPE_BOOLEAN); 4302 "autoLower", "AutoRaiseLower", RES_TYPE_BOOLEAN);
4303 x_default_parameter (f, parms, Qcursor_type, Qbox, 4303 x_default_parameter (f, parameters, Qcursor_type, Qbox,
4304 "cursorType", "CursorType", RES_TYPE_SYMBOL); 4304 "cursorType", "CursorType", RES_TYPE_SYMBOL);
4305 x_default_parameter (f, parms, Qscroll_bar_width, Qnil, 4305 x_default_parameter (f, parameters, Qscroll_bar_width, Qnil,
4306 "scrollBarWidth", "ScrollBarWidth", RES_TYPE_NUMBER); 4306 "scrollBarWidth", "ScrollBarWidth", RES_TYPE_NUMBER);
4307 4307
4308 /* Dimensions, especially FRAME_LINES (f), must be done via change_frame_size. 4308 /* Dimensions, especially FRAME_LINES (f), must be done via change_frame_size.
@@ -4340,7 +4340,7 @@ This function is an internal primitive--use `make-frame' instead. */)
4340 { 4340 {
4341 Lisp_Object visibility; 4341 Lisp_Object visibility;
4342 4342
4343 visibility = w32_get_arg (parms, Qvisibility, 0, 0, RES_TYPE_SYMBOL); 4343 visibility = w32_get_arg (parameters, Qvisibility, 0, 0, RES_TYPE_SYMBOL);
4344 if (EQ (visibility, Qunbound)) 4344 if (EQ (visibility, Qunbound))
4345 visibility = Qt; 4345 visibility = Qt;
4346 4346
@@ -6181,10 +6181,10 @@ w32_find_bdf_fonts_in_dir (Lisp_Object directory)
6181 6181
6182DEFUN ("w32-find-bdf-fonts", Fw32_find_bdf_fonts, Sw32_find_bdf_fonts, 6182DEFUN ("w32-find-bdf-fonts", Fw32_find_bdf_fonts, Sw32_find_bdf_fonts,
6183 1, 1, 0, 6183 1, 1, 0,
6184 doc: /* Return a list of BDF fonts in DIR. 6184 doc: /* Return a list of BDF fonts in DIRECTORY.
6185The list is suitable for appending to w32-bdf-filename-alist. Fonts 6185The list is suitable for appending to `w32-bdf-filename-alist'.
6186which do not contain an xlfd description will not be included in the 6186Fonts which do not contain an xlfd description will not be included
6187list. DIR may be a list of directories. */) 6187in the list. DIRECTORY may be a list of directories. */)
6188 (directory) 6188 (directory)
6189 Lisp_Object directory; 6189 Lisp_Object directory;
6190{ 6190{
@@ -6265,7 +6265,7 @@ DEFUN ("xw-display-color-p", Fxw_display_color_p, Sxw_display_color_p, 0, 1, 0,
6265 6265
6266DEFUN ("x-display-grayscale-p", Fx_display_grayscale_p, 6266DEFUN ("x-display-grayscale-p", Fx_display_grayscale_p,
6267 Sx_display_grayscale_p, 0, 1, 0, 6267 Sx_display_grayscale_p, 0, 1, 0,
6268 doc: /* Return t if the X display supports shades of gray. 6268 doc: /* Return t if DISPLAY supports shades of gray.
6269Note that color displays do support shades of gray. 6269Note that color displays do support shades of gray.
6270The optional argument DISPLAY specifies which display to ask about. 6270The optional argument DISPLAY specifies which display to ask about.
6271DISPLAY should be either a frame or a display name (a string). 6271DISPLAY should be either a frame or a display name (a string).
@@ -6338,9 +6338,9 @@ If omitted or nil, that stands for the selected frame's display. */)
6338 6338
6339 hdc = GetDC (dpyinfo->root_window); 6339 hdc = GetDC (dpyinfo->root_window);
6340 if (dpyinfo->has_palette) 6340 if (dpyinfo->has_palette)
6341 cap = GetDeviceCaps (hdc,SIZEPALETTE); 6341 cap = GetDeviceCaps (hdc, SIZEPALETTE);
6342 else 6342 else
6343 cap = GetDeviceCaps (hdc,NUMCOLORS); 6343 cap = GetDeviceCaps (hdc, NUMCOLORS);
6344 6344
6345 /* We force 24+ bit depths to 24-bit, both to prevent an overflow 6345 /* We force 24+ bit depths to 24-bit, both to prevent an overflow
6346 and because probably is more meaningful on Windows anyway */ 6346 and because probably is more meaningful on Windows anyway */
@@ -7394,7 +7394,7 @@ used to change the tooltip's appearance.
7394Automatically hide the tooltip after TIMEOUT seconds. TIMEOUT nil 7394Automatically hide the tooltip after TIMEOUT seconds. TIMEOUT nil
7395means use the default timeout of 5 seconds. 7395means use the default timeout of 5 seconds.
7396 7396
7397If the list of frame parameters PARAMS contains a `left' parameter, 7397If the list of frame parameters PARMS contains a `left' parameter,
7398the tooltip is displayed at that x-position. Otherwise it is 7398the tooltip is displayed at that x-position. Otherwise it is
7399displayed at the mouse position, with offset DX added (default is 5 if 7399displayed at the mouse position, with offset DX added (default is 5 if
7400DX isn't specified). Likewise for the y-position; if a `top' frame 7400DX isn't specified). Likewise for the y-position; if a `top' frame
@@ -7875,7 +7875,7 @@ Returns an X font string corresponding to the selection. */)
7875DEFUN ("w32-send-sys-command", Fw32_send_sys_command, 7875DEFUN ("w32-send-sys-command", Fw32_send_sys_command,
7876 Sw32_send_sys_command, 1, 2, 0, 7876 Sw32_send_sys_command, 1, 2, 0,
7877 doc: /* Send frame a Windows WM_SYSCOMMAND message of type COMMAND. 7877 doc: /* Send frame a Windows WM_SYSCOMMAND message of type COMMAND.
7878Some useful values for command are #xf030 to maximise frame (#xf020 7878Some useful values for COMMAND are #xf030 to maximize frame (#xf020
7879to minimize), #xf120 to restore frame to original size, and #xf100 7879to minimize), #xf120 to restore frame to original size, and #xf100
7880to activate the menubar for keyboard access. #xf140 activates the 7880to activate the menubar for keyboard access. #xf140 activates the
7881screen saver if defined. 7881screen saver if defined.
@@ -8070,7 +8070,7 @@ The return value is the hotkey-id if registered, otherwise nil. */)
8070 8070
8071DEFUN ("w32-unregister-hot-key", Fw32_unregister_hot_key, 8071DEFUN ("w32-unregister-hot-key", Fw32_unregister_hot_key,
8072 Sw32_unregister_hot_key, 1, 1, 0, 8072 Sw32_unregister_hot_key, 1, 1, 0,
8073 doc: /* Unregister HOTKEY as a hot-key combination. */) 8073 doc: /* Unregister KEY as a hot-key combination. */)
8074 (key) 8074 (key)
8075 Lisp_Object key; 8075 Lisp_Object key;
8076{ 8076{
@@ -8112,7 +8112,8 @@ DEFUN ("w32-registered-hot-keys", Fw32_registered_hot_keys,
8112 8112
8113DEFUN ("w32-reconstruct-hot-key", Fw32_reconstruct_hot_key, 8113DEFUN ("w32-reconstruct-hot-key", Fw32_reconstruct_hot_key,
8114 Sw32_reconstruct_hot_key, 1, 1, 0, 8114 Sw32_reconstruct_hot_key, 1, 1, 0,
8115 doc: /* Convert hot-key ID to a lisp key combination. */) 8115 doc: /* Convert hot-key ID to a lisp key combination.
8116usage: (w32-reconstruct-hot-key ID) */)
8116 (hotkeyid) 8117 (hotkeyid)
8117 Lisp_Object hotkeyid; 8118 Lisp_Object hotkeyid;
8118{ 8119{
@@ -8351,7 +8352,7 @@ DEFUN ("default-printer-name", Fdefault_printer_name, Sdefault_printer_name,
8351 Initialization 8352 Initialization
8352 ***********************************************************************/ 8353 ***********************************************************************/
8353 8354
8354/* Keep this list in the same order as frame_parms in frame.c. 8355/* Keep this list in the same order as frame_parms in frame.c.
8355 Use 0 for unsupported frame parameters. */ 8356 Use 0 for unsupported frame parameters. */
8356 8357
8357frame_parm_handler w32_frame_parm_handlers[] = 8358frame_parm_handler w32_frame_parm_handlers[] =
@@ -8436,7 +8437,7 @@ syms_of_w32fns ()
8436 w32_grabbed_keys = Qnil; 8437 w32_grabbed_keys = Qnil;
8437 8438
8438 DEFVAR_LISP ("w32-color-map", &Vw32_color_map, 8439 DEFVAR_LISP ("w32-color-map", &Vw32_color_map,
8439 doc: /* An array of color name mappings for windows. */); 8440 doc: /* An array of color name mappings for Windows. */);
8440 Vw32_color_map = Qnil; 8441 Vw32_color_map = Qnil;
8441 8442
8442 DEFVAR_LISP ("w32-pass-alt-to-system", &Vw32_pass_alt_to_system, 8443 DEFVAR_LISP ("w32-pass-alt-to-system", &Vw32_pass_alt_to_system,