Mercurial > emacs
comparison src/xfns.c @ 86073:0e4c465d1806
(Fx_create_frame, Fx_display_pixel_width, Fx_display_pixel_height,
Fx_display_planes, Fx_display_color_cells, Fx_server_max_request_size,
Fx_server_vendor, Fx_server_version, Fx_display_backing_store,
Fx_display_save_under): Fix typos in docstrings.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Wed, 14 Nov 2007 17:34:11 +0000 |
parents | fd9c2b6d11cb |
children | 3408ab8b4152 |
comparison
equal
deleted
inserted
replaced
86072:d57729b69f59 | 86073:0e4c465d1806 |
---|---|
3028 | 3028 |
3029 | 3029 |
3030 DEFUN ("x-create-frame", Fx_create_frame, Sx_create_frame, | 3030 DEFUN ("x-create-frame", Fx_create_frame, Sx_create_frame, |
3031 1, 1, 0, | 3031 1, 1, 0, |
3032 doc: /* Make a new X window, which is called a "frame" in Emacs terms. | 3032 doc: /* Make a new X window, which is called a "frame" in Emacs terms. |
3033 Returns an Emacs frame object. | 3033 Return an Emacs frame object. |
3034 ALIST is an alist of frame parameters. | 3034 ALIST is an alist of frame parameters. |
3035 If the parameters specify that the frame should not have a minibuffer, | 3035 If the parameters specify that the frame should not have a minibuffer, |
3036 and do not specify a specific minibuffer window to use, | 3036 and do not specify a specific minibuffer window to use, |
3037 then `default-minibuffer-frame' must be a frame whose minibuffer can | 3037 then `default-minibuffer-frame' must be a frame whose minibuffer can |
3038 be shared by the new frame. | 3038 be shared by the new frame. |
3589 } | 3589 } |
3590 } | 3590 } |
3591 | 3591 |
3592 DEFUN ("x-display-pixel-width", Fx_display_pixel_width, Sx_display_pixel_width, | 3592 DEFUN ("x-display-pixel-width", Fx_display_pixel_width, Sx_display_pixel_width, |
3593 0, 1, 0, | 3593 0, 1, 0, |
3594 doc: /* Returns the width in pixels of the X display TERMINAL. | 3594 doc: /* Return the width in pixels of the X display TERMINAL. |
3595 The optional argument TERMINAL specifies which display to ask about. | 3595 The optional argument TERMINAL specifies which display to ask about. |
3596 TERMINAL should be a terminal id, a frame or a display name (a string). | 3596 TERMINAL should be a terminal id, a frame or a display name (a string). |
3597 If omitted or nil, that stands for the selected frame's display. */) | 3597 If omitted or nil, that stands for the selected frame's display. */) |
3598 (terminal) | 3598 (terminal) |
3599 Lisp_Object terminal; | 3599 Lisp_Object terminal; |
3603 return make_number (dpyinfo->width); | 3603 return make_number (dpyinfo->width); |
3604 } | 3604 } |
3605 | 3605 |
3606 DEFUN ("x-display-pixel-height", Fx_display_pixel_height, | 3606 DEFUN ("x-display-pixel-height", Fx_display_pixel_height, |
3607 Sx_display_pixel_height, 0, 1, 0, | 3607 Sx_display_pixel_height, 0, 1, 0, |
3608 doc: /* Returns the height in pixels of the X display TERMINAL. | 3608 doc: /* Return the height in pixels of the X display TERMINAL. |
3609 The optional argument TERMINAL specifies which display to ask about. | 3609 The optional argument TERMINAL specifies which display to ask about. |
3610 TERMINAL should be a terminal id, a frame or a display name (a string). | 3610 TERMINAL should be a terminal id, a frame or a display name (a string). |
3611 If omitted or nil, that stands for the selected frame's display. */) | 3611 If omitted or nil, that stands for the selected frame's display. */) |
3612 (terminal) | 3612 (terminal) |
3613 Lisp_Object terminal; | 3613 Lisp_Object terminal; |
3617 return make_number (dpyinfo->height); | 3617 return make_number (dpyinfo->height); |
3618 } | 3618 } |
3619 | 3619 |
3620 DEFUN ("x-display-planes", Fx_display_planes, Sx_display_planes, | 3620 DEFUN ("x-display-planes", Fx_display_planes, Sx_display_planes, |
3621 0, 1, 0, | 3621 0, 1, 0, |
3622 doc: /* Returns the number of bitplanes of the X display TERMINAL. | 3622 doc: /* Return the number of bitplanes of the X display TERMINAL. |
3623 The optional argument TERMINAL specifies which display to ask about. | 3623 The optional argument TERMINAL specifies which display to ask about. |
3624 TERMINAL should be a terminal id, a frame or a display name (a string). | 3624 TERMINAL should be a terminal id, a frame or a display name (a string). |
3625 If omitted or nil, that stands for the selected frame's display. */) | 3625 If omitted or nil, that stands for the selected frame's display. */) |
3626 (terminal) | 3626 (terminal) |
3627 Lisp_Object terminal; | 3627 Lisp_Object terminal; |
3631 return make_number (dpyinfo->n_planes); | 3631 return make_number (dpyinfo->n_planes); |
3632 } | 3632 } |
3633 | 3633 |
3634 DEFUN ("x-display-color-cells", Fx_display_color_cells, Sx_display_color_cells, | 3634 DEFUN ("x-display-color-cells", Fx_display_color_cells, Sx_display_color_cells, |
3635 0, 1, 0, | 3635 0, 1, 0, |
3636 doc: /* Returns the number of color cells of the X display TERMINAL. | 3636 doc: /* Return the number of color cells of the X display TERMINAL. |
3637 The optional argument TERMINAL specifies which display to ask about. | 3637 The optional argument TERMINAL specifies which display to ask about. |
3638 TERMINAL should be a terminal id, a frame or a display name (a string). | 3638 TERMINAL should be a terminal id, a frame or a display name (a string). |
3639 If omitted or nil, that stands for the selected frame's display. */) | 3639 If omitted or nil, that stands for the selected frame's display. */) |
3640 (terminal) | 3640 (terminal) |
3641 Lisp_Object terminal; | 3641 Lisp_Object terminal; |
3656 } | 3656 } |
3657 | 3657 |
3658 DEFUN ("x-server-max-request-size", Fx_server_max_request_size, | 3658 DEFUN ("x-server-max-request-size", Fx_server_max_request_size, |
3659 Sx_server_max_request_size, | 3659 Sx_server_max_request_size, |
3660 0, 1, 0, | 3660 0, 1, 0, |
3661 doc: /* Returns the maximum request size of the X server of display TERMINAL. | 3661 doc: /* Return the maximum request size of the X server of display TERMINAL. |
3662 The optional argument TERMINAL specifies which display to ask about. | 3662 The optional argument TERMINAL specifies which display to ask about. |
3663 TERMINAL should be a terminal id, a frame or a display name (a string). | 3663 TERMINAL should be a terminal id, a frame or a display name (a string). |
3664 If omitted or nil, that stands for the selected frame's display. */) | 3664 If omitted or nil, that stands for the selected frame's display. */) |
3665 (terminal) | 3665 (terminal) |
3666 Lisp_Object terminal; | 3666 Lisp_Object terminal; |
3669 | 3669 |
3670 return make_number (MAXREQUEST (dpyinfo->display)); | 3670 return make_number (MAXREQUEST (dpyinfo->display)); |
3671 } | 3671 } |
3672 | 3672 |
3673 DEFUN ("x-server-vendor", Fx_server_vendor, Sx_server_vendor, 0, 1, 0, | 3673 DEFUN ("x-server-vendor", Fx_server_vendor, Sx_server_vendor, 0, 1, 0, |
3674 doc: /* Returns the "vendor ID" string of the X server of display TERMINAL. | 3674 doc: /* Return the "vendor ID" string of the X server of display TERMINAL. |
3675 \(Labelling every distributor as a "vendor" embodies the false assumption | 3675 \(Labelling every distributor as a "vendor" embodies the false assumption |
3676 that operating systems cannot be developed and distributed noncommercially.) | 3676 that operating systems cannot be developed and distributed noncommercially.) |
3677 The optional argument TERMINAL specifies which display to ask about. | 3677 The optional argument TERMINAL specifies which display to ask about. |
3678 TERMINAL should be a terminal id, a frame or a display name (a string). | 3678 TERMINAL should be a terminal id, a frame or a display name (a string). |
3679 If omitted or nil, that stands for the selected frame's display. */) | 3679 If omitted or nil, that stands for the selected frame's display. */) |
3686 if (! vendor) vendor = ""; | 3686 if (! vendor) vendor = ""; |
3687 return build_string (vendor); | 3687 return build_string (vendor); |
3688 } | 3688 } |
3689 | 3689 |
3690 DEFUN ("x-server-version", Fx_server_version, Sx_server_version, 0, 1, 0, | 3690 DEFUN ("x-server-version", Fx_server_version, Sx_server_version, 0, 1, 0, |
3691 doc: /* Returns the version numbers of the X server of display TERMINAL. | 3691 doc: /* Return the version numbers of the X server of display TERMINAL. |
3692 The value is a list of three integers: the major and minor | 3692 The value is a list of three integers: the major and minor |
3693 version numbers of the X Protocol in use, and the distributor-specific release | 3693 version numbers of the X Protocol in use, and the distributor-specific release |
3694 number. See also the function `x-server-vendor'. | 3694 number. See also the function `x-server-vendor'. |
3695 | 3695 |
3696 The optional argument TERMINAL specifies which display to ask about. | 3696 The optional argument TERMINAL specifies which display to ask about. |
3746 return make_number (WidthMMOfScreen (dpyinfo->screen)); | 3746 return make_number (WidthMMOfScreen (dpyinfo->screen)); |
3747 } | 3747 } |
3748 | 3748 |
3749 DEFUN ("x-display-backing-store", Fx_display_backing_store, | 3749 DEFUN ("x-display-backing-store", Fx_display_backing_store, |
3750 Sx_display_backing_store, 0, 1, 0, | 3750 Sx_display_backing_store, 0, 1, 0, |
3751 doc: /* Returns an indication of whether X display TERMINAL does backing store. | 3751 doc: /* Return an indication of whether X display TERMINAL does backing store. |
3752 The value may be `always', `when-mapped', or `not-useful'. | 3752 The value may be `always', `when-mapped', or `not-useful'. |
3753 The optional argument TERMINAL specifies which display to ask about. | 3753 The optional argument TERMINAL specifies which display to ask about. |
3754 TERMINAL should be a terminal id, a frame or a display name (a string). | 3754 TERMINAL should be a terminal id, a frame or a display name (a string). |
3755 If omitted or nil, that stands for the selected frame's display. */) | 3755 If omitted or nil, that stands for the selected frame's display. */) |
3756 (terminal) | 3756 (terminal) |
3824 return result; | 3824 return result; |
3825 } | 3825 } |
3826 | 3826 |
3827 DEFUN ("x-display-save-under", Fx_display_save_under, | 3827 DEFUN ("x-display-save-under", Fx_display_save_under, |
3828 Sx_display_save_under, 0, 1, 0, | 3828 Sx_display_save_under, 0, 1, 0, |
3829 doc: /* Returns t if the X display TERMINAL supports the save-under feature. | 3829 doc: /* Return t if the X display TERMINAL supports the save-under feature. |
3830 The optional argument TERMINAL specifies which display to ask about. | 3830 The optional argument TERMINAL specifies which display to ask about. |
3831 TERMINAL should be a terminal id, a frame or a display name (a string). | 3831 TERMINAL should be a terminal id, a frame or a display name (a string). |
3832 If omitted or nil, that stands for the selected frame's display. */) | 3832 If omitted or nil, that stands for the selected frame's display. */) |
3833 (terminal) | 3833 (terminal) |
3834 Lisp_Object terminal; | 3834 Lisp_Object terminal; |