diff options
| author | Eli Zaretskii | 2002-01-25 14:08:42 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2002-01-25 14:08:42 +0000 |
| commit | 99fdd6bcfa202f9a72027f019d276ae818eb9337 (patch) | |
| tree | 58bd883e949a31617e3840e6a4c32b02b1faa26d /src | |
| parent | 7cc8f35a9076ed3e59f907c3dc54db63e59bd693 (diff) | |
| download | emacs-99fdd6bcfa202f9a72027f019d276ae818eb9337.tar.gz emacs-99fdd6bcfa202f9a72027f019d276ae818eb9337.zip | |
(Ftty_display_color_cells, Ftty_display_color_p): Change the
argument name to DISPLAY. Doc fix.
Diffstat (limited to 'src')
| -rw-r--r-- | src/term.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/term.c b/src/term.c index 2edee999b6c..48c107a8c89 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -1976,9 +1976,9 @@ turn_off_face (f, face_id) | |||
| 1976 | 1976 | ||
| 1977 | DEFUN ("tty-display-color-p", Ftty_display_color_p, Stty_display_color_p, | 1977 | DEFUN ("tty-display-color-p", Ftty_display_color_p, Stty_display_color_p, |
| 1978 | 0, 1, 0, | 1978 | 0, 1, 0, |
| 1979 | doc: /* Return non-nil if TTY can display colors on FRAME. */) | 1979 | doc: /* Return non-nil if TTY can display colors on DISPLAY. */) |
| 1980 | (frame) | 1980 | (display) |
| 1981 | Lisp_Object frame; | 1981 | Lisp_Object display; |
| 1982 | { | 1982 | { |
| 1983 | return TN_max_colors > 0 ? Qt : Qnil; | 1983 | return TN_max_colors > 0 ? Qt : Qnil; |
| 1984 | } | 1984 | } |
| @@ -1986,9 +1986,9 @@ DEFUN ("tty-display-color-p", Ftty_display_color_p, Stty_display_color_p, | |||
| 1986 | /* Return the number of supported colors. */ | 1986 | /* Return the number of supported colors. */ |
| 1987 | DEFUN ("tty-display-color-cells", Ftty_display_color_cells, | 1987 | DEFUN ("tty-display-color-cells", Ftty_display_color_cells, |
| 1988 | Stty_display_color_cells, 0, 1, 0, | 1988 | Stty_display_color_cells, 0, 1, 0, |
| 1989 | "Return the number of colors supported by TTY on FRAME.") | 1989 | doc: /* Return the number of colors supported by TTY on DISPLAY. */) |
| 1990 | (frame) | 1990 | (display) |
| 1991 | Lisp_Object frame; | 1991 | Lisp_Object display; |
| 1992 | { | 1992 | { |
| 1993 | return make_number (TN_max_colors); | 1993 | return make_number (TN_max_colors); |
| 1994 | } | 1994 | } |