From 981e4297b4866c0eca7653d3919cebc07f7a5f6f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 2 Jan 2000 14:06:15 +0000 Subject: [PATCH] (Ftty_display_color_p): Accept an optional argument FRAME. --- src/term.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/term.c b/src/term.c index 98d7958208f..d4ea6a6f2f7 100644 --- a/src/term.c +++ b/src/term.c @@ -2055,9 +2055,10 @@ turn_off_face (f, face_id) /* Return non-zero if the terminal is capable to display colors. */ DEFUN ("tty-display-color-p", Ftty_display_color_p, Stty_display_color_p, - 0, 0, 0, - "Return non-nil if TTY can display colors.") - () + 0, 1, 0, + "Return non-nil if TTY can display colors on FRAME.") + (frame) + Lisp_Object frame; { return TN_max_colors > 0 ? Qt : Qnil; } -- 2.39.5