From 401e9e5757be9ece5a0002b0d20f93c954c9f0ae Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Wed, 22 Apr 2009 03:43:06 +0000 Subject: [PATCH] * term.c (Ftty_display_color_p, Ftty_display_color_cells) (Ftty_type, Fcontrolling_tty_p, Ftty_no_underline, Fsuspend_tty) (Fresume_tty): Doc fixes, replacing "terminal id" with "terminal object". --- src/ChangeLog | 7 +++++++ src/term.c | 36 ++++++++++++++++++------------------ 2 files changed, 25 insertions(+), 18 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 26cfda927a5..061d2dac5c0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2009-04-22 Chong Yidong + + * term.c (Ftty_display_color_p, Ftty_display_color_cells) + (Ftty_type, Fcontrolling_tty_p, Ftty_no_underline, Fsuspend_tty) + (Fresume_tty): Doc fixes, replacing "terminal id" with "terminal + object". + 2009-04-21 Kenichi Handa * font.c (font_load_for_lface): Cancel previous change (bug#2994). diff --git a/src/term.c b/src/term.c index 1c686eb521c..30f1c201ccd 100644 --- a/src/term.c +++ b/src/term.c @@ -2097,9 +2097,9 @@ DEFUN ("tty-display-color-p", Ftty_display_color_p, Stty_display_color_p, 0, 1, 0, doc: /* Return non-nil if the tty device TERMINAL can display colors. -TERMINAL can be a terminal id, a frame or nil (meaning the selected -frame's terminal). This function always returns nil if TERMINAL -is not on a tty device. */) +TERMINAL can be a terminal object, a frame, or nil (meaning the +selected frame's terminal). This function always returns nil if +TERMINAL does not refer to a text-only terminal. */) (terminal) Lisp_Object terminal; { @@ -2115,9 +2115,9 @@ DEFUN ("tty-display-color-cells", Ftty_display_color_cells, Stty_display_color_cells, 0, 1, 0, doc: /* Return the number of colors supported by the tty device TERMINAL. -TERMINAL can be a terminal id, a frame or nil (meaning the selected -frame's terminal). This function always returns 0 if TERMINAL -is not on a tty device. */) +TERMINAL can be a terminal object, a frame, or nil (meaning the +selected frame's terminal). This function always returns 0 if +TERMINAL does not refer to a text-only terminal. */) (terminal) Lisp_Object terminal; { @@ -2303,8 +2303,8 @@ DEFUN ("tty-type", Ftty_type, Stty_type, 0, 1, 0, doc: /* Return the type of the tty device that TERMINAL uses. Returns nil if TERMINAL is not on a tty device. -TERMINAL can be a terminal id, a frame or nil (meaning the selected -frame's terminal). */) +TERMINAL can be a terminal object, a frame, or nil (meaning the +selected frame's terminal). */) (terminal) Lisp_Object terminal; { @@ -2322,9 +2322,9 @@ frame's terminal). */) DEFUN ("controlling-tty-p", Fcontrolling_tty_p, Scontrolling_tty_p, 0, 1, 0, doc: /* Return non-nil if TERMINAL is the controlling tty of the Emacs process. -TERMINAL can be a terminal id, a frame or nil (meaning the selected -frame's terminal). This function always returns nil if TERMINAL -is not on a tty device. */) +TERMINAL can be a terminal object, a frame, or nil (meaning the +selected frame's terminal). This function always returns nil if +TERMINAL is not on a tty device. */) (terminal) Lisp_Object terminal; { @@ -2343,9 +2343,9 @@ This is used to override the terminfo data, for certain terminals that do not really do underlining, but say that they do. This function has no effect if used on a non-tty terminal. -TERMINAL can be a terminal id, a frame or nil (meaning the selected -frame's terminal). This function always returns nil if TERMINAL -is not on a tty device. */) +TERMINAL can be a terminal object, a frame or nil (meaning the +selected frame's terminal). This function always returns nil if +TERMINAL does not refer to a text-only terminal. */) (terminal) Lisp_Object terminal; { @@ -2366,8 +2366,8 @@ access to the tty device. Frames that use the device are not deleted, but input is not read from them and if they change, their display is not updated. -TTY may be a terminal id, a frame, or nil for the terminal device of -the currently selected frame. +TTY may be a terminal object, a frame, or nil for the terminal device +of the currently selected frame. This function runs `suspend-tty-functions' after suspending the device. The functions are run with one arg, the id of the suspended @@ -2442,8 +2442,8 @@ device. `resume-tty' does nothing if it is called on a device that is not suspended. -TTY may be a terminal id, a frame, or nil for the terminal device of -the currently selected frame. */) +TTY may be a terminal object, a frame, or nil (meaning the selected +frame's terminal). */) (tty) Lisp_Object tty; { -- 2.39.2