aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32fns.c
diff options
context:
space:
mode:
authorFabián Ezequiel Gallina2015-01-28 00:59:34 -0300
committerFabián Ezequiel Gallina2015-01-28 00:59:34 -0300
commitd7a89815b6d69c3b1793d34bcad8bf0aa21d48c8 (patch)
tree6ac62b66bd5386355c96551da34416036cf279b7 /src/w32fns.c
parent3a8b7013042adae3c27327a75662fd8e884d4896 (diff)
parentd279e6680842b872ae3aab1fb429b1879db50f7f (diff)
downloademacs-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.c35
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
4897DEFUN ("x-server-vendor", Fx_server_vendor, Sx_server_vendor, 0, 1, 0, 4897DEFUN ("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.
4899The optional argument DISPLAY specifies which display to ask about. 4899
4900DISPLAY should be either a frame or a display name (a string). 4900\(Labeling every distributor as a "vendor" embodies the false assumption
4901that operating systems cannot be developed and distributed noncommercially.)
4902
4903For GNU and Unix systems, this queries the X server software; for
4904MS-Windows, this queries the OS.
4905
4906The optional argument TERMINAL specifies which display to ask about.
4907TERMINAL should be a terminal object, a frame or a display name (a string).
4901If omitted or nil, that stands for the selected frame's display. */) 4908If 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
4907DEFUN ("x-server-version", Fx_server_version, Sx_server_version, 0, 1, 0, 4914DEFUN ("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.
4909The value is a list of three integers: the major and minor 4916The value is a list of three integers specifying the version of the GUI
4910version numbers of the X Protocol in use, and the distributor-specific 4917software in use.
4911release number. See also the function `x-server-vendor'.
4912 4918
4913The optional argument DISPLAY specifies which display to ask about. 4919For GNU and Unix system, the first 2 numbers are the version of the X
4914DISPLAY should be either a frame or a display name (a string). 4920Protocol used on TERMINAL and the 3rd number is the distributor-specific
4921release number. For MS-Windows, the 3 numbers report the version and
4922the build number of the OS.
4923
4924See also the function `x-server-vendor'.
4925
4926The optional argument TERMINAL specifies which display to ask about.
4927TERMINAL should be a terminal object, a frame or a display name (a string).
4915If omitted or nil, that stands for the selected frame's display. */) 4928If 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}