(Ftty_display_color_cells, Ftty_display_color_p): Change the
argument name to DISPLAY. Doc fix.
This commit is contained in:
parent
7cc8f35a90
commit
99fdd6bcfa
1 changed files with 6 additions and 6 deletions
12
src/term.c
12
src/term.c
|
@ -1976,9 +1976,9 @@ turn_off_face (f, face_id)
|
|||
|
||||
DEFUN ("tty-display-color-p", Ftty_display_color_p, Stty_display_color_p,
|
||||
0, 1, 0,
|
||||
doc: /* Return non-nil if TTY can display colors on FRAME. */)
|
||||
(frame)
|
||||
Lisp_Object frame;
|
||||
doc: /* Return non-nil if TTY can display colors on DISPLAY. */)
|
||||
(display)
|
||||
Lisp_Object display;
|
||||
{
|
||||
return TN_max_colors > 0 ? Qt : Qnil;
|
||||
}
|
||||
|
@ -1986,9 +1986,9 @@ DEFUN ("tty-display-color-p", Ftty_display_color_p, Stty_display_color_p,
|
|||
/* Return the number of supported colors. */
|
||||
DEFUN ("tty-display-color-cells", Ftty_display_color_cells,
|
||||
Stty_display_color_cells, 0, 1, 0,
|
||||
"Return the number of colors supported by TTY on FRAME.")
|
||||
(frame)
|
||||
Lisp_Object frame;
|
||||
doc: /* Return the number of colors supported by TTY on DISPLAY. */)
|
||||
(display)
|
||||
Lisp_Object display;
|
||||
{
|
||||
return make_number (TN_max_colors);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue