aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2007-11-14 17:13:43 +0000
committerJuanma Barranquero2007-11-14 17:13:43 +0000
commit02b39a28f906417f4f1904189e26e4eea1b2744a (patch)
treef89d66bc7977af5289b61b4e88dfa74336d9e2cc /src
parent517d7b9f8f385d990f91e17014533b8eb67ecb66 (diff)
downloademacs-02b39a28f906417f4f1904189e26e4eea1b2744a.tar.gz
emacs-02b39a28f906417f4f1904189e26e4eea1b2744a.zip
(Fw32_define_rgb_color, Fw32_load_color_file, Fx_display_save_under):
Fix typos in docstrings. (Fx_server_version): Reflow docstring. (Fw32_shell_execute): Doc fixes.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/w32fns.c27
2 files changed, 18 insertions, 14 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index da730e53dd0..3171d75cd19 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -9,8 +9,11 @@
9 (Vw32_charset_info_alist, w32_to_x_color, w32_init_class) 9 (Vw32_charset_info_alist, w32_to_x_color, w32_init_class)
10 (w32_createscrollbar, w32_createwindow, my_post_msg, w32_get_modifiers) 10 (w32_createscrollbar, w32_createwindow, my_post_msg, w32_get_modifiers)
11 (w32_grabbed_keys, cancel_all_deferred_msgs): Make static. 11 (w32_grabbed_keys, cancel_all_deferred_msgs): Make static.
12 (Fw32_define_rgb_color, Fw32_load_color_file, Fx_display_save_under)
12 (syms_of_w32fns) <w32-pass-multimedia-buttons-to-system>: 13 (syms_of_w32fns) <w32-pass-multimedia-buttons-to-system>:
13 Fix typos in docstring. 14 Fix typos in docstrings.
15 (Fx_server_version): Reflow docstring.
16 (Fw32_shell_execute): Doc fixes.
14 17
152007-11-13 Juanma Barranquero <lekktu@gmail.com> 182007-11-13 Juanma Barranquero <lekktu@gmail.com>
16 19
diff --git a/src/w32fns.c b/src/w32fns.c
index 6c07f469496..4b60b009b29 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -455,7 +455,7 @@ x_real_positions (f, xptr, yptr)
455DEFUN ("w32-define-rgb-color", Fw32_define_rgb_color, 455DEFUN ("w32-define-rgb-color", Fw32_define_rgb_color,
456 Sw32_define_rgb_color, 4, 4, 0, 456 Sw32_define_rgb_color, 4, 4, 0,
457 doc: /* Convert RGB numbers to a windows color reference and associate with NAME. 457 doc: /* Convert RGB numbers to a windows color reference and associate with NAME.
458This adds or updates a named color to w32-color-map, making it 458This adds or updates a named color to `w32-color-map', making it
459available for use. The original entry's RGB ref is returned, or nil 459available for use. The original entry's RGB ref is returned, or nil
460if the entry is new. */) 460if the entry is new. */)
461 (red, green, blue, name) 461 (red, green, blue, name)
@@ -495,7 +495,7 @@ if the entry is new. */)
495DEFUN ("w32-load-color-file", Fw32_load_color_file, 495DEFUN ("w32-load-color-file", Fw32_load_color_file,
496 Sw32_load_color_file, 1, 1, 0, 496 Sw32_load_color_file, 1, 1, 0,
497 doc: /* Create an alist of color entries from an external file. 497 doc: /* Create an alist of color entries from an external file.
498Assign this value to w32-color-map to replace the existing color map. 498Assign this value to `w32-color-map' to replace the existing color map.
499 499
500The file should define one named RGB color per line like so: 500The file should define one named RGB color per line like so:
501 R G B name 501 R G B name
@@ -6513,8 +6513,8 @@ If omitted or nil, that stands for the selected frame's display. */)
6513DEFUN ("x-server-version", Fx_server_version, Sx_server_version, 0, 1, 0, 6513DEFUN ("x-server-version", Fx_server_version, Sx_server_version, 0, 1, 0,
6514 doc: /* Returns the version numbers of the server of DISPLAY. 6514 doc: /* Returns the version numbers of the server of DISPLAY.
6515The value is a list of three integers: the major and minor 6515The value is a list of three integers: the major and minor
6516version numbers of the X Protocol in use, and the distributor-specific release 6516version numbers of the X Protocol in use, and the distributor-specific
6517number. See also the function `x-server-vendor'. 6517release number. See also the function `x-server-vendor'.
6518 6518
6519The optional argument DISPLAY specifies which display to ask about. 6519The optional argument DISPLAY specifies which display to ask about.
6520DISPLAY should be either a frame or a display name (a string). 6520DISPLAY should be either a frame or a display name (a string).
@@ -6624,7 +6624,7 @@ If omitted or nil, that stands for the selected frame's display. */)
6624 6624
6625DEFUN ("x-display-save-under", Fx_display_save_under, 6625DEFUN ("x-display-save-under", Fx_display_save_under,
6626 Sx_display_save_under, 0, 1, 0, 6626 Sx_display_save_under, 0, 1, 0,
6627 doc: /* Returns t if DISPLAY supports the save-under feature. 6627 doc: /* Return t if DISPLAY supports the save-under feature.
6628The optional argument DISPLAY specifies which display to ask about. 6628The optional argument DISPLAY specifies which display to ask about.
6629DISPLAY should be either a frame or a display name (a string). 6629DISPLAY should be either a frame or a display name (a string).
6630If omitted or nil, that stands for the selected frame's display. */) 6630If omitted or nil, that stands for the selected frame's display. */)
@@ -8113,13 +8113,13 @@ DOCUMENT is typically the name of a document file or a URL, but can
8113also be a program executable to run, or a directory to open in the 8113also be a program executable to run, or a directory to open in the
8114Windows Explorer. 8114Windows Explorer.
8115 8115
8116If DOCUMENT is a program executable, the optional arg PARAMETERS can 8116If DOCUMENT is a program executable, the optional third arg PARAMETERS
8117be a string containing command line parameters that will be passed to 8117can be a string containing command line parameters that will be passed
8118the program; otherwise, PARAMETERS should be nil or unspecified. 8118to the program; otherwise, PARAMETERS should be nil or unspecified.
8119 8119
8120Second optional argument SHOW-FLAG can be used to control how the 8120Optional fourth argument SHOW-FLAG can be used to control how the
8121application will be displayed when it is invoked. If SHOW-FLAG is nil 8121application will be displayed when it is invoked. If SHOW-FLAG is nil
8122or unspceified, the application is displayed normally, otherwise it is 8122or unspecified, the application is displayed normally, otherwise it is
8123an integer representing a ShowWindow flag: 8123an integer representing a ShowWindow flag:
8124 8124
8125 0 - start hidden 8125 0 - start hidden
@@ -8563,10 +8563,10 @@ DEFUN ("default-printer-name", Fdefault_printer_name, Sdefault_printer_name,
8563 /* a remote printer */ 8563 /* a remote printer */
8564 if (*ppi2->pServerName == '\\') 8564 if (*ppi2->pServerName == '\\')
8565 _snprintf (pname_buf, sizeof (pname_buf), "%s\\%s", ppi2->pServerName, 8565 _snprintf (pname_buf, sizeof (pname_buf), "%s\\%s", ppi2->pServerName,
8566 ppi2->pShareName); 8566 ppi2->pShareName);
8567 else 8567 else
8568 _snprintf (pname_buf, sizeof (pname_buf), "\\\\%s\\%s", ppi2->pServerName, 8568 _snprintf (pname_buf, sizeof (pname_buf), "\\\\%s\\%s", ppi2->pServerName,
8569 ppi2->pShareName); 8569 ppi2->pShareName);
8570 pname_buf[sizeof (pname_buf) - 1] = '\0'; 8570 pname_buf[sizeof (pname_buf) - 1] = '\0';
8571 } 8571 }
8572 else 8572 else
@@ -9095,7 +9095,8 @@ versions of Windows) characters. */);
9095 variable initialized is 0 and directly from main when initialized 9095 variable initialized is 0 and directly from main when initialized
9096 is non zero. 9096 is non zero.
9097 */ 9097 */
9098void globals_of_w32fns () 9098void
9099globals_of_w32fns ()
9099{ 9100{
9100 HMODULE user32_lib = GetModuleHandle ("user32.dll"); 9101 HMODULE user32_lib = GetModuleHandle ("user32.dll");
9101 /* 9102 /*