diff options
| author | Fabián Ezequiel Gallina | 2015-01-28 00:59:34 -0300 |
|---|---|---|
| committer | Fabián Ezequiel Gallina | 2015-01-28 00:59:34 -0300 |
| commit | d7a89815b6d69c3b1793d34bcad8bf0aa21d48c8 (patch) | |
| tree | 6ac62b66bd5386355c96551da34416036cf279b7 /src/w32fns.c | |
| parent | 3a8b7013042adae3c27327a75662fd8e884d4896 (diff) | |
| parent | d279e6680842b872ae3aab1fb429b1879db50f7f (diff) | |
| download | emacs-d7a89815b6d69c3b1793d34bcad8bf0aa21d48c8.tar.gz emacs-d7a89815b6d69c3b1793d34bcad8bf0aa21d48c8.zip | |
Merge from origin/emacs-24
d279e66 Fix assertion violations in try_window_id (Bug#19511)
031eadc Fix dired quoting bug with "Hit`N`Hide"
5981b4b More doc fixes for bug#19502 -- make documentation less X-specific.
143516c src/emacs.c (syms_of_emacs) <system-configuration>: Doc fix. (Bug#19502)
Diffstat (limited to 'src/w32fns.c')
| -rw-r--r-- | src/w32fns.c | 35 |
1 files changed, 24 insertions, 11 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index c269c4f8e68..deda2eab26d 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -4895,25 +4895,38 @@ If omitted or nil, that stands for the selected frame's display. */) | |||
| 4895 | } | 4895 | } |
| 4896 | 4896 | ||
| 4897 | DEFUN ("x-server-vendor", Fx_server_vendor, Sx_server_vendor, 0, 1, 0, | 4897 | DEFUN ("x-server-vendor", Fx_server_vendor, Sx_server_vendor, 0, 1, 0, |
| 4898 | doc: /* Return the "vendor ID" string of the W32 system (Microsoft). | 4898 | doc: /* Return the "vendor ID" string of the GUI software on TERMINAL. |
| 4899 | The optional argument DISPLAY specifies which display to ask about. | 4899 | |
| 4900 | DISPLAY should be either a frame or a display name (a string). | 4900 | \(Labeling every distributor as a "vendor" embodies the false assumption |
| 4901 | that operating systems cannot be developed and distributed noncommercially.) | ||
| 4902 | |||
| 4903 | For GNU and Unix systems, this queries the X server software; for | ||
| 4904 | MS-Windows, this queries the OS. | ||
| 4905 | |||
| 4906 | The optional argument TERMINAL specifies which display to ask about. | ||
| 4907 | TERMINAL should be a terminal object, a frame or a display name (a string). | ||
| 4901 | If omitted or nil, that stands for the selected frame's display. */) | 4908 | If omitted or nil, that stands for the selected frame's display. */) |
| 4902 | (Lisp_Object display) | 4909 | (Lisp_Object terminal) |
| 4903 | { | 4910 | { |
| 4904 | return build_string ("Microsoft Corp."); | 4911 | return build_string ("Microsoft Corp."); |
| 4905 | } | 4912 | } |
| 4906 | 4913 | ||
| 4907 | DEFUN ("x-server-version", Fx_server_version, Sx_server_version, 0, 1, 0, | 4914 | DEFUN ("x-server-version", Fx_server_version, Sx_server_version, 0, 1, 0, |
| 4908 | doc: /* Return the version numbers of the server of DISPLAY. | 4915 | doc: /* Return the version numbers of the GUI software on TERMINAL. |
| 4909 | The value is a list of three integers: the major and minor | 4916 | The value is a list of three integers specifying the version of the GUI |
| 4910 | version numbers of the X Protocol in use, and the distributor-specific | 4917 | software in use. |
| 4911 | release number. See also the function `x-server-vendor'. | ||
| 4912 | 4918 | ||
| 4913 | The optional argument DISPLAY specifies which display to ask about. | 4919 | For GNU and Unix system, the first 2 numbers are the version of the X |
| 4914 | DISPLAY should be either a frame or a display name (a string). | 4920 | Protocol used on TERMINAL and the 3rd number is the distributor-specific |
| 4921 | release number. For MS-Windows, the 3 numbers report the version and | ||
| 4922 | the build number of the OS. | ||
| 4923 | |||
| 4924 | See also the function `x-server-vendor'. | ||
| 4925 | |||
| 4926 | The optional argument TERMINAL specifies which display to ask about. | ||
| 4927 | TERMINAL should be a terminal object, a frame or a display name (a string). | ||
| 4915 | If omitted or nil, that stands for the selected frame's display. */) | 4928 | If omitted or nil, that stands for the selected frame's display. */) |
| 4916 | (Lisp_Object display) | 4929 | (Lisp_Object terminal) |
| 4917 | { | 4930 | { |
| 4918 | return list3i (w32_major_version, w32_minor_version, w32_build_number); | 4931 | return list3i (w32_major_version, w32_minor_version, w32_build_number); |
| 4919 | } | 4932 | } |