Mercurial > emacs
diff src/xfns.c @ 103052:e68707cf48a5
* keyboard.c (Fset_input_meta_mode): Doc fix.
* dispnew.c (Fsend_string_to_terminal): Doc fix.
* data.c (Fterminal_local_value, Fset_terminal_local_value): Doc
fixes.
* coding.c (Fterminal_coding_system): Doc fix.
* xfns.c (Fx_display_grayscale_p, 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_screens)
(Fx_display_mm_height, Fx_display_mm_width)
(Fx_display_backing_store, Fx_display_visual_class)
(Fx_display_save_under, Fx_close_connection, Fx_synchronize): Doc
fixes, replacing "terminal id" with "terminal object".
(check_x_display_info): Handle terminal objects instead of
terminal ids.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Wed, 22 Apr 2009 04:32:21 +0000 |
parents | ce4d81298570 |
children | 1867be80e595 |
line wrap: on
line diff
--- a/src/xfns.c Wed Apr 22 04:23:09 2009 +0000 +++ b/src/xfns.c Wed Apr 22 04:32:21 2009 +0000 @@ -247,7 +247,7 @@ } /* Let the user specify an X display with a Lisp object. - OBJECT may be nil, a frame or a terminal id. + OBJECT may be nil, a frame or a terminal object. nil stands for the selected frame--or, if that is not an X frame, the first X display on the list. */ @@ -268,7 +268,7 @@ else error ("X windows are not in use or not initialized"); } - else if (INTEGERP (object)) + else if (TERMINALP (object)) { struct terminal *t = get_terminal (object, 1); @@ -3639,7 +3639,7 @@ doc: /* Return t if the X display supports shades of gray. Note that color displays do support shades of gray. The optional argument TERMINAL specifies which display to ask about. -TERMINAL should be a terminal id, a frame or a display name (a string). +TERMINAL should be a terminal object, a frame or a display name (a string). If omitted or nil, that stands for the selected frame's display. */) (terminal) Lisp_Object terminal; @@ -3668,7 +3668,7 @@ 0, 1, 0, doc: /* Return the width in pixels of the X display TERMINAL. The optional argument TERMINAL specifies which display to ask about. -TERMINAL should be a terminal id, a frame or a display name (a string). +TERMINAL should be a terminal object, a frame or a display name (a string). If omitted or nil, that stands for the selected frame's display. */) (terminal) Lisp_Object terminal; @@ -3682,7 +3682,7 @@ Sx_display_pixel_height, 0, 1, 0, doc: /* Return the height in pixels of the X display TERMINAL. The optional argument TERMINAL specifies which display to ask about. -TERMINAL should be a terminal id, a frame or a display name (a string). +TERMINAL should be a terminal object, a frame or a display name (a string). If omitted or nil, that stands for the selected frame's display. */) (terminal) Lisp_Object terminal; @@ -3696,7 +3696,7 @@ 0, 1, 0, doc: /* Return the number of bitplanes of the X display TERMINAL. The optional argument TERMINAL specifies which display to ask about. -TERMINAL should be a terminal id, a frame or a display name (a string). +TERMINAL should be a terminal object, a frame or a display name (a string). If omitted or nil, that stands for the selected frame's display. */) (terminal) Lisp_Object terminal; @@ -3710,7 +3710,7 @@ 0, 1, 0, doc: /* Return the number of color cells of the X display TERMINAL. The optional argument TERMINAL specifies which display to ask about. -TERMINAL should be a terminal id, a frame or a display name (a string). +TERMINAL should be a terminal object, a frame or a display name (a string). If omitted or nil, that stands for the selected frame's display. */) (terminal) Lisp_Object terminal; @@ -3735,7 +3735,7 @@ 0, 1, 0, doc: /* Return the maximum request size of the X server of display TERMINAL. The optional argument TERMINAL specifies which display to ask about. -TERMINAL should be a terminal id, a frame or a display name (a string). +TERMINAL should be a terminal object, a frame or a display name (a string). If omitted or nil, that stands for the selected frame's display. */) (terminal) Lisp_Object terminal; @@ -3750,7 +3750,7 @@ \(Labelling every distributor as a "vendor" embodies the false assumption that operating systems cannot be developed and distributed noncommercially.) The optional argument TERMINAL specifies which display to ask about. -TERMINAL should be a terminal id, a frame or a display name (a string). +TERMINAL should be a terminal object, a frame or a display name (a string). If omitted or nil, that stands for the selected frame's display. */) (terminal) Lisp_Object terminal; @@ -3769,7 +3769,7 @@ number. See also the function `x-server-vendor'. The optional argument TERMINAL specifies which display to ask about. -TERMINAL should be a terminal id, a frame or a display name (a string). +TERMINAL should be a terminal object, a frame or a display name (a string). If omitted or nil, that stands for the selected frame's display. */) (terminal) Lisp_Object terminal; @@ -3785,7 +3785,7 @@ DEFUN ("x-display-screens", Fx_display_screens, Sx_display_screens, 0, 1, 0, doc: /* Return the number of screens on the X server of display TERMINAL. The optional argument TERMINAL specifies which display to ask about. -TERMINAL should be a terminal id, a frame or a display name (a string). +TERMINAL should be a terminal object, a frame or a display name (a string). If omitted or nil, that stands for the selected frame's display. */) (terminal) Lisp_Object terminal; @@ -3798,7 +3798,7 @@ DEFUN ("x-display-mm-height", Fx_display_mm_height, Sx_display_mm_height, 0, 1, 0, doc: /* Return the height in millimeters of the X display TERMINAL. The optional argument TERMINAL specifies which display to ask about. -TERMINAL should be a terminal id, a frame or a display name (a string). +TERMINAL should be a terminal object, a frame or a display name (a string). If omitted or nil, that stands for the selected frame's display. */) (terminal) Lisp_Object terminal; @@ -3811,7 +3811,7 @@ DEFUN ("x-display-mm-width", Fx_display_mm_width, Sx_display_mm_width, 0, 1, 0, doc: /* Return the width in millimeters of the X display TERMINAL. The optional argument TERMINAL specifies which display to ask about. -TERMINAL should be a terminal id, a frame or a display name (a string). +TERMINAL should be a terminal object, a frame or a display name (a string). If omitted or nil, that stands for the selected frame's display. */) (terminal) Lisp_Object terminal; @@ -3826,7 +3826,7 @@ doc: /* Return an indication of whether X display TERMINAL does backing store. The value may be `always', `when-mapped', or `not-useful'. The optional argument TERMINAL specifies which display to ask about. -TERMINAL should be a terminal id, a frame or a display name (a string). +TERMINAL should be a terminal object, a frame or a display name (a string). If omitted or nil, that stands for the selected frame's display. */) (terminal) Lisp_Object terminal; @@ -3863,7 +3863,7 @@ `static-color', `pseudo-color', `true-color', or `direct-color'. The optional argument TERMINAL specifies which display to ask about. -TERMINAL should a terminal id, a frame or a display name (a string). +TERMINAL should a terminal object, a frame or a display name (a string). If omitted or nil, that stands for the selected frame's display. */) (terminal) Lisp_Object terminal; @@ -3903,7 +3903,7 @@ Sx_display_save_under, 0, 1, 0, doc: /* Return t if the X display TERMINAL supports the save-under feature. The optional argument TERMINAL specifies which display to ask about. -TERMINAL should be a terminal id, a frame or a display name (a string). +TERMINAL should be a terminal object, a frame or a display name (a string). If omitted or nil, that stands for the selected frame's display. */) (terminal) Lisp_Object terminal; @@ -4174,7 +4174,7 @@ DEFUN ("x-close-connection", Fx_close_connection, Sx_close_connection, 1, 1, 0, doc: /* Close the connection to TERMINAL's X server. -For TERMINAL, specify a terminal id, a frame or a display name (a +For TERMINAL, specify a terminal object, a frame or a display name (a string). If TERMINAL is nil, that stands for the selected frame's terminal. */) (terminal) @@ -4210,7 +4210,7 @@ requests and seriously degrades performance, but makes debugging much easier. The optional second argument TERMINAL specifies which display to act on. -TERMINAL should be a terminal id, a frame or a display name (a string). +TERMINAL should be a terminal object, a frame or a display name (a string). If TERMINAL is omitted or nil, that stands for the selected frame's display. */) (on, terminal) Lisp_Object terminal, on;