diff src/term.c @ 27087:8de2d17323c2

(Ftty_display_color_p): Accept an optional argument FRAME.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 02 Jan 2000 14:06:15 +0000
parents 59913a531d4e
children 5cd86a04d3ef
line wrap: on
line diff
--- a/src/term.c	Sun Jan 02 14:00:03 2000 +0000
+++ b/src/term.c	Sun Jan 02 14:06:15 2000 +0000
@@ -2055,9 +2055,10 @@
 /* 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;
 }