aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2009-04-22 04:32:21 +0000
committerChong Yidong2009-04-22 04:32:21 +0000
commit708e05dc7a8fd26530bb7daf9025bc53a0985453 (patch)
tree1c23f090866a986752a94bf06ff894bf958c78e6 /src
parentd8da53851b6469924cb8307b7218eeeea20d0251 (diff)
downloademacs-708e05dc7a8fd26530bb7daf9025bc53a0985453.tar.gz
emacs-708e05dc7a8fd26530bb7daf9025bc53a0985453.zip
* 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.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog20
-rw-r--r--src/coding.c2
-rw-r--r--src/data.c4
-rw-r--r--src/dispnew.c2
-rw-r--r--src/keyboard.c4
-rw-r--r--src/xfns.c36
6 files changed, 44 insertions, 24 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 298222cdc0c..58c9272a841 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,25 @@
12009-04-22 Chong Yidong <cyd@stupidchicken.com> 12009-04-22 Chong Yidong <cyd@stupidchicken.com>
2 2
3 * keyboard.c (Fset_input_meta_mode): Doc fix.
4
5 * dispnew.c (Fsend_string_to_terminal): Doc fix.
6
7 * data.c (Fterminal_local_value, Fset_terminal_local_value): Doc
8 fixes.
9
10 * coding.c (Fterminal_coding_system): Doc fix.
11
12 * xfns.c (Fx_display_grayscale_p, Fx_display_pixel_width)
13 (Fx_display_pixel_height, Fx_display_planes)
14 (Fx_display_color_cells, Fx_server_max_request_size)
15 (Fx_server_vendor, Fx_server_version, Fx_display_screens)
16 (Fx_display_mm_height, Fx_display_mm_width)
17 (Fx_display_backing_store, Fx_display_visual_class)
18 (Fx_display_save_under, Fx_close_connection, Fx_synchronize): Doc
19 fixes, replacing "terminal id" with "terminal object".
20 (check_x_display_info): Handle terminal objects instead of
21 terminal ids.
22
3 * term.c (Ftty_display_color_p, Ftty_display_color_cells) 23 * term.c (Ftty_display_color_p, Ftty_display_color_cells)
4 (Ftty_type, Fcontrolling_tty_p, Ftty_no_underline, Fsuspend_tty) 24 (Ftty_type, Fcontrolling_tty_p, Ftty_no_underline, Fsuspend_tty)
5 (Fresume_tty, Vsuspend_tty_functions, Vresume_tty_functions): Doc 25 (Fresume_tty, Vsuspend_tty_functions, Vresume_tty_functions): Doc
diff --git a/src/coding.c b/src/coding.c
index d8bee597756..d374ca8b476 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -9349,7 +9349,7 @@ DEFUN ("set-safe-terminal-coding-system-internal",
9349DEFUN ("terminal-coding-system", Fterminal_coding_system, 9349DEFUN ("terminal-coding-system", Fterminal_coding_system,
9350 Sterminal_coding_system, 0, 1, 0, 9350 Sterminal_coding_system, 0, 1, 0,
9351 doc: /* Return coding system specified for terminal output on the given terminal. 9351 doc: /* Return coding system specified for terminal output on the given terminal.
9352TERMINAL may be a terminal id, a frame, or nil for the selected 9352TERMINAL may be a terminal object, a frame, or nil for the selected
9353frame's terminal device. */) 9353frame's terminal device. */)
9354 (terminal) 9354 (terminal)
9355 Lisp_Object terminal; 9355 Lisp_Object terminal;
diff --git a/src/data.c b/src/data.c
index 33692e33781..96e29a6c283 100644
--- a/src/data.c
+++ b/src/data.c
@@ -1880,7 +1880,7 @@ DEFUN ("terminal-local-value", Fterminal_local_value, Sterminal_local_value, 2,
1880If SYMBOL is not a terminal-local variable, then return its normal 1880If SYMBOL is not a terminal-local variable, then return its normal
1881value, like `symbol-value'. 1881value, like `symbol-value'.
1882 1882
1883TERMINAL may be a terminal id, a frame, or nil (meaning the 1883TERMINAL may be a terminal object, a frame, or nil (meaning the
1884selected frame's terminal device). */) 1884selected frame's terminal device). */)
1885 (symbol, terminal) 1885 (symbol, terminal)
1886 Lisp_Object symbol; 1886 Lisp_Object symbol;
@@ -1899,7 +1899,7 @@ DEFUN ("set-terminal-local-value", Fset_terminal_local_value, Sset_terminal_loca
1899If VARIABLE is not a terminal-local variable, then set its normal 1899If VARIABLE is not a terminal-local variable, then set its normal
1900binding, like `set'. 1900binding, like `set'.
1901 1901
1902TERMINAL may be a terminal id, a frame, or nil (meaning the 1902TERMINAL may be a terminal object, a frame, or nil (meaning the
1903selected frame's terminal device). */) 1903selected frame's terminal device). */)
1904 (symbol, terminal, value) 1904 (symbol, terminal, value)
1905 Lisp_Object symbol; 1905 Lisp_Object symbol;
diff --git a/src/dispnew.c b/src/dispnew.c
index 3fbb113dd9f..da0deaa90b6 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -6469,7 +6469,7 @@ DEFUN ("send-string-to-terminal", Fsend_string_to_terminal,
6469Control characters in STRING will have terminal-dependent effects. 6469Control characters in STRING will have terminal-dependent effects.
6470 6470
6471Optional parameter TERMINAL specifies the tty terminal device to use. 6471Optional parameter TERMINAL specifies the tty terminal device to use.
6472It may be a terminal id, a frame, or nil for the terminal used by the 6472It may be a terminal object, a frame, or nil for the terminal used by the
6473currently selected frame. */) 6473currently selected frame. */)
6474 (string, terminal) 6474 (string, terminal)
6475 Lisp_Object string; 6475 Lisp_Object string;
diff --git a/src/keyboard.c b/src/keyboard.c
index 56506571c2a..05c5102340f 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -11326,8 +11326,8 @@ specially interpreting the top bit.
11326This setting only has an effect on tty terminal devices. 11326This setting only has an effect on tty terminal devices.
11327 11327
11328Optional parameter TERMINAL specifies the tty terminal device to use. 11328Optional parameter TERMINAL specifies the tty terminal device to use.
11329It may be a terminal id, a frame, or nil for the terminal used by the 11329It may be a terminal object, a frame, or nil for the terminal used by
11330currently selected frame. 11330the currently selected frame.
11331 11331
11332See also `current-input-mode'. */) 11332See also `current-input-mode'. */)
11333 (meta, terminal) 11333 (meta, terminal)
diff --git a/src/xfns.c b/src/xfns.c
index c1c85701160..37d41d3f52b 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -247,7 +247,7 @@ check_x_frame (frame)
247} 247}
248 248
249/* Let the user specify an X display with a Lisp object. 249/* Let the user specify an X display with a Lisp object.
250 OBJECT may be nil, a frame or a terminal id. 250 OBJECT may be nil, a frame or a terminal object.
251 nil stands for the selected frame--or, if that is not an X frame, 251 nil stands for the selected frame--or, if that is not an X frame,
252 the first X display on the list. */ 252 the first X display on the list. */
253 253
@@ -268,7 +268,7 @@ check_x_display_info (object)
268 else 268 else
269 error ("X windows are not in use or not initialized"); 269 error ("X windows are not in use or not initialized");
270 } 270 }
271 else if (INTEGERP (object)) 271 else if (TERMINALP (object))
272 { 272 {
273 struct terminal *t = get_terminal (object, 1); 273 struct terminal *t = get_terminal (object, 1);
274 274
@@ -3639,7 +3639,7 @@ DEFUN ("x-display-grayscale-p", Fx_display_grayscale_p, Sx_display_grayscale_p,
3639 doc: /* Return t if the X display supports shades of gray. 3639 doc: /* Return t if the X display supports shades of gray.
3640Note that color displays do support shades of gray. 3640Note that color displays do support shades of gray.
3641The optional argument TERMINAL specifies which display to ask about. 3641The optional argument TERMINAL specifies which display to ask about.
3642TERMINAL should be a terminal id, a frame or a display name (a string). 3642TERMINAL should be a terminal object, a frame or a display name (a string).
3643If omitted or nil, that stands for the selected frame's display. */) 3643If omitted or nil, that stands for the selected frame's display. */)
3644 (terminal) 3644 (terminal)
3645 Lisp_Object terminal; 3645 Lisp_Object terminal;
@@ -3668,7 +3668,7 @@ DEFUN ("x-display-pixel-width", Fx_display_pixel_width, Sx_display_pixel_width,
3668 0, 1, 0, 3668 0, 1, 0,
3669 doc: /* Return the width in pixels of the X display TERMINAL. 3669 doc: /* Return the width in pixels of the X display TERMINAL.
3670The optional argument TERMINAL specifies which display to ask about. 3670The optional argument TERMINAL specifies which display to ask about.
3671TERMINAL should be a terminal id, a frame or a display name (a string). 3671TERMINAL should be a terminal object, a frame or a display name (a string).
3672If omitted or nil, that stands for the selected frame's display. */) 3672If omitted or nil, that stands for the selected frame's display. */)
3673 (terminal) 3673 (terminal)
3674 Lisp_Object terminal; 3674 Lisp_Object terminal;
@@ -3682,7 +3682,7 @@ DEFUN ("x-display-pixel-height", Fx_display_pixel_height,
3682 Sx_display_pixel_height, 0, 1, 0, 3682 Sx_display_pixel_height, 0, 1, 0,
3683 doc: /* Return the height in pixels of the X display TERMINAL. 3683 doc: /* Return the height in pixels of the X display TERMINAL.
3684The optional argument TERMINAL specifies which display to ask about. 3684The optional argument TERMINAL specifies which display to ask about.
3685TERMINAL should be a terminal id, a frame or a display name (a string). 3685TERMINAL should be a terminal object, a frame or a display name (a string).
3686If omitted or nil, that stands for the selected frame's display. */) 3686If omitted or nil, that stands for the selected frame's display. */)
3687 (terminal) 3687 (terminal)
3688 Lisp_Object terminal; 3688 Lisp_Object terminal;
@@ -3696,7 +3696,7 @@ DEFUN ("x-display-planes", Fx_display_planes, Sx_display_planes,
3696 0, 1, 0, 3696 0, 1, 0,
3697 doc: /* Return the number of bitplanes of the X display TERMINAL. 3697 doc: /* Return the number of bitplanes of the X display TERMINAL.
3698The optional argument TERMINAL specifies which display to ask about. 3698The optional argument TERMINAL specifies which display to ask about.
3699TERMINAL should be a terminal id, a frame or a display name (a string). 3699TERMINAL should be a terminal object, a frame or a display name (a string).
3700If omitted or nil, that stands for the selected frame's display. */) 3700If omitted or nil, that stands for the selected frame's display. */)
3701 (terminal) 3701 (terminal)
3702 Lisp_Object terminal; 3702 Lisp_Object terminal;
@@ -3710,7 +3710,7 @@ DEFUN ("x-display-color-cells", Fx_display_color_cells, Sx_display_color_cells,
3710 0, 1, 0, 3710 0, 1, 0,
3711 doc: /* Return the number of color cells of the X display TERMINAL. 3711 doc: /* Return the number of color cells of the X display TERMINAL.
3712The optional argument TERMINAL specifies which display to ask about. 3712The optional argument TERMINAL specifies which display to ask about.
3713TERMINAL should be a terminal id, a frame or a display name (a string). 3713TERMINAL should be a terminal object, a frame or a display name (a string).
3714If omitted or nil, that stands for the selected frame's display. */) 3714If omitted or nil, that stands for the selected frame's display. */)
3715 (terminal) 3715 (terminal)
3716 Lisp_Object terminal; 3716 Lisp_Object terminal;
@@ -3735,7 +3735,7 @@ DEFUN ("x-server-max-request-size", Fx_server_max_request_size,
3735 0, 1, 0, 3735 0, 1, 0,
3736 doc: /* Return the maximum request size of the X server of display TERMINAL. 3736 doc: /* Return the maximum request size of the X server of display TERMINAL.
3737The optional argument TERMINAL specifies which display to ask about. 3737The optional argument TERMINAL specifies which display to ask about.
3738TERMINAL should be a terminal id, a frame or a display name (a string). 3738TERMINAL should be a terminal object, a frame or a display name (a string).
3739If omitted or nil, that stands for the selected frame's display. */) 3739If omitted or nil, that stands for the selected frame's display. */)
3740 (terminal) 3740 (terminal)
3741 Lisp_Object terminal; 3741 Lisp_Object terminal;
@@ -3750,7 +3750,7 @@ DEFUN ("x-server-vendor", Fx_server_vendor, Sx_server_vendor, 0, 1, 0,
3750\(Labelling every distributor as a "vendor" embodies the false assumption 3750\(Labelling every distributor as a "vendor" embodies the false assumption
3751that operating systems cannot be developed and distributed noncommercially.) 3751that operating systems cannot be developed and distributed noncommercially.)
3752The optional argument TERMINAL specifies which display to ask about. 3752The optional argument TERMINAL specifies which display to ask about.
3753TERMINAL should be a terminal id, a frame or a display name (a string). 3753TERMINAL should be a terminal object, a frame or a display name (a string).
3754If omitted or nil, that stands for the selected frame's display. */) 3754If omitted or nil, that stands for the selected frame's display. */)
3755 (terminal) 3755 (terminal)
3756 Lisp_Object terminal; 3756 Lisp_Object terminal;
@@ -3769,7 +3769,7 @@ version numbers of the X Protocol in use, and the distributor-specific release
3769number. See also the function `x-server-vendor'. 3769number. See also the function `x-server-vendor'.
3770 3770
3771The optional argument TERMINAL specifies which display to ask about. 3771The optional argument TERMINAL specifies which display to ask about.
3772TERMINAL should be a terminal id, a frame or a display name (a string). 3772TERMINAL should be a terminal object, a frame or a display name (a string).
3773If omitted or nil, that stands for the selected frame's display. */) 3773If omitted or nil, that stands for the selected frame's display. */)
3774 (terminal) 3774 (terminal)
3775 Lisp_Object terminal; 3775 Lisp_Object terminal;
@@ -3785,7 +3785,7 @@ If omitted or nil, that stands for the selected frame's display. */)
3785DEFUN ("x-display-screens", Fx_display_screens, Sx_display_screens, 0, 1, 0, 3785DEFUN ("x-display-screens", Fx_display_screens, Sx_display_screens, 0, 1, 0,
3786 doc: /* Return the number of screens on the X server of display TERMINAL. 3786 doc: /* Return the number of screens on the X server of display TERMINAL.
3787The optional argument TERMINAL specifies which display to ask about. 3787The optional argument TERMINAL specifies which display to ask about.
3788TERMINAL should be a terminal id, a frame or a display name (a string). 3788TERMINAL should be a terminal object, a frame or a display name (a string).
3789If omitted or nil, that stands for the selected frame's display. */) 3789If omitted or nil, that stands for the selected frame's display. */)
3790 (terminal) 3790 (terminal)
3791 Lisp_Object terminal; 3791 Lisp_Object terminal;
@@ -3798,7 +3798,7 @@ If omitted or nil, that stands for the selected frame's display. */)
3798DEFUN ("x-display-mm-height", Fx_display_mm_height, Sx_display_mm_height, 0, 1, 0, 3798DEFUN ("x-display-mm-height", Fx_display_mm_height, Sx_display_mm_height, 0, 1, 0,
3799 doc: /* Return the height in millimeters of the X display TERMINAL. 3799 doc: /* Return the height in millimeters of the X display TERMINAL.
3800The optional argument TERMINAL specifies which display to ask about. 3800The optional argument TERMINAL specifies which display to ask about.
3801TERMINAL should be a terminal id, a frame or a display name (a string). 3801TERMINAL should be a terminal object, a frame or a display name (a string).
3802If omitted or nil, that stands for the selected frame's display. */) 3802If omitted or nil, that stands for the selected frame's display. */)
3803 (terminal) 3803 (terminal)
3804 Lisp_Object terminal; 3804 Lisp_Object terminal;
@@ -3811,7 +3811,7 @@ If omitted or nil, that stands for the selected frame's display. */)
3811DEFUN ("x-display-mm-width", Fx_display_mm_width, Sx_display_mm_width, 0, 1, 0, 3811DEFUN ("x-display-mm-width", Fx_display_mm_width, Sx_display_mm_width, 0, 1, 0,
3812 doc: /* Return the width in millimeters of the X display TERMINAL. 3812 doc: /* Return the width in millimeters of the X display TERMINAL.
3813The optional argument TERMINAL specifies which display to ask about. 3813The optional argument TERMINAL specifies which display to ask about.
3814TERMINAL should be a terminal id, a frame or a display name (a string). 3814TERMINAL should be a terminal object, a frame or a display name (a string).
3815If omitted or nil, that stands for the selected frame's display. */) 3815If omitted or nil, that stands for the selected frame's display. */)
3816 (terminal) 3816 (terminal)
3817 Lisp_Object terminal; 3817 Lisp_Object terminal;
@@ -3826,7 +3826,7 @@ DEFUN ("x-display-backing-store", Fx_display_backing_store,
3826 doc: /* Return an indication of whether X display TERMINAL does backing store. 3826 doc: /* Return an indication of whether X display TERMINAL does backing store.
3827The value may be `always', `when-mapped', or `not-useful'. 3827The value may be `always', `when-mapped', or `not-useful'.
3828The optional argument TERMINAL specifies which display to ask about. 3828The optional argument TERMINAL specifies which display to ask about.
3829TERMINAL should be a terminal id, a frame or a display name (a string). 3829TERMINAL should be a terminal object, a frame or a display name (a string).
3830If omitted or nil, that stands for the selected frame's display. */) 3830If omitted or nil, that stands for the selected frame's display. */)
3831 (terminal) 3831 (terminal)
3832 Lisp_Object terminal; 3832 Lisp_Object terminal;
@@ -3863,7 +3863,7 @@ The value is one of the symbols `static-gray', `gray-scale',
3863`static-color', `pseudo-color', `true-color', or `direct-color'. 3863`static-color', `pseudo-color', `true-color', or `direct-color'.
3864 3864
3865The optional argument TERMINAL specifies which display to ask about. 3865The optional argument TERMINAL specifies which display to ask about.
3866TERMINAL should a terminal id, a frame or a display name (a string). 3866TERMINAL should a terminal object, a frame or a display name (a string).
3867If omitted or nil, that stands for the selected frame's display. */) 3867If omitted or nil, that stands for the selected frame's display. */)
3868 (terminal) 3868 (terminal)
3869 Lisp_Object terminal; 3869 Lisp_Object terminal;
@@ -3903,7 +3903,7 @@ DEFUN ("x-display-save-under", Fx_display_save_under,
3903 Sx_display_save_under, 0, 1, 0, 3903 Sx_display_save_under, 0, 1, 0,
3904 doc: /* Return t if the X display TERMINAL supports the save-under feature. 3904 doc: /* Return t if the X display TERMINAL supports the save-under feature.
3905The optional argument TERMINAL specifies which display to ask about. 3905The optional argument TERMINAL specifies which display to ask about.
3906TERMINAL should be a terminal id, a frame or a display name (a string). 3906TERMINAL should be a terminal object, a frame or a display name (a string).
3907If omitted or nil, that stands for the selected frame's display. */) 3907If omitted or nil, that stands for the selected frame's display. */)
3908 (terminal) 3908 (terminal)
3909 Lisp_Object terminal; 3909 Lisp_Object terminal;
@@ -4174,7 +4174,7 @@ An insecure way to solve the problem may be to use `xhost'.\n",
4174DEFUN ("x-close-connection", Fx_close_connection, 4174DEFUN ("x-close-connection", Fx_close_connection,
4175 Sx_close_connection, 1, 1, 0, 4175 Sx_close_connection, 1, 1, 0,
4176 doc: /* Close the connection to TERMINAL's X server. 4176 doc: /* Close the connection to TERMINAL's X server.
4177For TERMINAL, specify a terminal id, a frame or a display name (a 4177For TERMINAL, specify a terminal object, a frame or a display name (a
4178string). If TERMINAL is nil, that stands for the selected frame's 4178string). If TERMINAL is nil, that stands for the selected frame's
4179terminal. */) 4179terminal. */)
4180 (terminal) 4180 (terminal)
@@ -4210,7 +4210,7 @@ Turning on synchronization prohibits the Xlib routines from buffering
4210requests and seriously degrades performance, but makes debugging much 4210requests and seriously degrades performance, but makes debugging much
4211easier. 4211easier.
4212The optional second argument TERMINAL specifies which display to act on. 4212The optional second argument TERMINAL specifies which display to act on.
4213TERMINAL should be a terminal id, a frame or a display name (a string). 4213TERMINAL should be a terminal object, a frame or a display name (a string).
4214If TERMINAL is omitted or nil, that stands for the selected frame's display. */) 4214If TERMINAL is omitted or nil, that stands for the selected frame's display. */)
4215 (on, terminal) 4215 (on, terminal)
4216 Lisp_Object terminal, on; 4216 Lisp_Object terminal, on;