diff options
| author | Eli Zaretskii | 2015-01-04 20:30:16 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2015-01-04 20:30:16 +0200 |
| commit | 5981b4b1c08d308563ecfd4e3ee9f133d47af3b2 (patch) | |
| tree | dbb614a3ad9cc680cb95ff4e9a0e1aeeb5d3052f /doc | |
| parent | 143516c73db7e182687f4be98966461ce7f3703f (diff) | |
| download | emacs-5981b4b1c08d308563ecfd4e3ee9f133d47af3b2.tar.gz emacs-5981b4b1c08d308563ecfd4e3ee9f133d47af3b2.zip | |
More doc fixes for bug#19502 -- make documentation less X-specific.
doc/lispref/frames.texi (Display Feature Testing): Make the description of
x-server-version and x-server-vendor less X-specific.
Make doc strings on X and w32 identical.
src/w32fns.c (Fx_server_version, Fx_server_vendor): Doc fix.
src/xfns.c (Fx_server_version, Fx_server_vendor): Doc fix.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/frames.texi | 24 |
2 files changed, 20 insertions, 9 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index c4b80a03575..c898af51686 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2015-01-04 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * frames.texi (Display Feature Testing): Make the description of | ||
| 4 | x-server-version and x-server-vendor less X-specific. (Bug#19502) | ||
| 5 | |||
| 1 | 2014-12-24 Glenn Morris <rgm@gnu.org> | 6 | 2014-12-24 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * control.texi (Pattern matching case statement): | 8 | * control.texi (Pattern matching case statement): |
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index 2d5922732c6..3c27ab15566 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi | |||
| @@ -2645,20 +2645,26 @@ colors). | |||
| 2645 | This function returns the number of color cells the screen supports. | 2645 | This function returns the number of color cells the screen supports. |
| 2646 | @end defun | 2646 | @end defun |
| 2647 | 2647 | ||
| 2648 | These functions obtain additional information specifically | 2648 | These functions obtain additional information about the window |
| 2649 | about X displays. | 2649 | system in use where Emacs shows the specified @var{display}. (Their |
| 2650 | names begin with @code{x-} for historical reasons.) | ||
| 2650 | 2651 | ||
| 2651 | @defun x-server-version &optional display | 2652 | @defun x-server-version &optional display |
| 2652 | This function returns the list of version numbers of the X server | 2653 | This function returns the list of version numbers of the GUI window |
| 2653 | running the display. The value is a list of three integers: the major | 2654 | system running on @var{display}, such as the X server on GNU and Unix |
| 2654 | and minor version numbers of the X protocol, and the | 2655 | systems. The value is a list of three integers: the major and minor |
| 2655 | distributor-specific release number of the X server software itself. | 2656 | version numbers of the protocol, and the distributor-specific release |
| 2657 | number of the window system software itself. On GNU and Unix systems, | ||
| 2658 | these are normally the version of the X protocol and the | ||
| 2659 | distributor-specific release number of the X server software. On | ||
| 2660 | MS-Windows, this is the version of the Windows OS. | ||
| 2656 | @end defun | 2661 | @end defun |
| 2657 | 2662 | ||
| 2658 | @defun x-server-vendor &optional display | 2663 | @defun x-server-vendor &optional display |
| 2659 | This function returns the ``vendor'' that provided the X server | 2664 | This function returns the ``vendor'' that provided the window system |
| 2660 | software (as a string). Really this means whoever distributes the X | 2665 | software (as a string). On GNU and Unix systems this really means |
| 2661 | server. | 2666 | whoever distributes the X server. On MS-Windows this is the vendor ID |
| 2667 | string of the Windows OS (Microsoft). | ||
| 2662 | 2668 | ||
| 2663 | When the developers of X labeled software distributors as | 2669 | When the developers of X labeled software distributors as |
| 2664 | ``vendors'', they showed their false assumption that no system could | 2670 | ``vendors'', they showed their false assumption that no system could |