From: Eli Zaretskii Date: Sun, 2 Jan 2000 14:06:15 +0000 (+0000) Subject: (Ftty_display_color_p): Accept an optional argument FRAME. X-Git-Tag: emacs-pretest-21.0.90~5558 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=981e4297b4866c0eca7653d3919cebc07f7a5f6f;p=emacs.git (Ftty_display_color_p): Accept an optional argument FRAME. --- 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; }