diff options
| author | Juanma Barranquero | 2007-11-14 17:13:43 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-11-14 17:13:43 +0000 |
| commit | 02b39a28f906417f4f1904189e26e4eea1b2744a (patch) | |
| tree | f89d66bc7977af5289b61b4e88dfa74336d9e2cc /src | |
| parent | 517d7b9f8f385d990f91e17014533b8eb67ecb66 (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | src/w32fns.c | 27 |
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 | ||
| 15 | 2007-11-13 Juanma Barranquero <lekktu@gmail.com> | 18 | 2007-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) | |||
| 455 | DEFUN ("w32-define-rgb-color", Fw32_define_rgb_color, | 455 | DEFUN ("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. |
| 458 | This adds or updates a named color to w32-color-map, making it | 458 | This adds or updates a named color to `w32-color-map', making it |
| 459 | available for use. The original entry's RGB ref is returned, or nil | 459 | available for use. The original entry's RGB ref is returned, or nil |
| 460 | if the entry is new. */) | 460 | if the entry is new. */) |
| 461 | (red, green, blue, name) | 461 | (red, green, blue, name) |
| @@ -495,7 +495,7 @@ if the entry is new. */) | |||
| 495 | DEFUN ("w32-load-color-file", Fw32_load_color_file, | 495 | DEFUN ("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. |
| 498 | Assign this value to w32-color-map to replace the existing color map. | 498 | Assign this value to `w32-color-map' to replace the existing color map. |
| 499 | 499 | ||
| 500 | The file should define one named RGB color per line like so: | 500 | The 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. */) | |||
| 6513 | DEFUN ("x-server-version", Fx_server_version, Sx_server_version, 0, 1, 0, | 6513 | DEFUN ("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. |
| 6515 | The value is a list of three integers: the major and minor | 6515 | The value is a list of three integers: the major and minor |
| 6516 | version numbers of the X Protocol in use, and the distributor-specific release | 6516 | version numbers of the X Protocol in use, and the distributor-specific |
| 6517 | number. See also the function `x-server-vendor'. | 6517 | release number. See also the function `x-server-vendor'. |
| 6518 | 6518 | ||
| 6519 | The optional argument DISPLAY specifies which display to ask about. | 6519 | The optional argument DISPLAY specifies which display to ask about. |
| 6520 | DISPLAY should be either a frame or a display name (a string). | 6520 | DISPLAY 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 | ||
| 6625 | DEFUN ("x-display-save-under", Fx_display_save_under, | 6625 | DEFUN ("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. |
| 6628 | The optional argument DISPLAY specifies which display to ask about. | 6628 | The optional argument DISPLAY specifies which display to ask about. |
| 6629 | DISPLAY should be either a frame or a display name (a string). | 6629 | DISPLAY should be either a frame or a display name (a string). |
| 6630 | If omitted or nil, that stands for the selected frame's display. */) | 6630 | If 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 | |||
| 8113 | also be a program executable to run, or a directory to open in the | 8113 | also be a program executable to run, or a directory to open in the |
| 8114 | Windows Explorer. | 8114 | Windows Explorer. |
| 8115 | 8115 | ||
| 8116 | If DOCUMENT is a program executable, the optional arg PARAMETERS can | 8116 | If DOCUMENT is a program executable, the optional third arg PARAMETERS |
| 8117 | be a string containing command line parameters that will be passed to | 8117 | can be a string containing command line parameters that will be passed |
| 8118 | the program; otherwise, PARAMETERS should be nil or unspecified. | 8118 | to the program; otherwise, PARAMETERS should be nil or unspecified. |
| 8119 | 8119 | ||
| 8120 | Second optional argument SHOW-FLAG can be used to control how the | 8120 | Optional fourth argument SHOW-FLAG can be used to control how the |
| 8121 | application will be displayed when it is invoked. If SHOW-FLAG is nil | 8121 | application will be displayed when it is invoked. If SHOW-FLAG is nil |
| 8122 | or unspceified, the application is displayed normally, otherwise it is | 8122 | or unspecified, the application is displayed normally, otherwise it is |
| 8123 | an integer representing a ShowWindow flag: | 8123 | an 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 | */ |
| 9098 | void globals_of_w32fns () | 9098 | void |
| 9099 | globals_of_w32fns () | ||
| 9099 | { | 9100 | { |
| 9100 | HMODULE user32_lib = GetModuleHandle ("user32.dll"); | 9101 | HMODULE user32_lib = GetModuleHandle ("user32.dll"); |
| 9101 | /* | 9102 | /* |