comparison 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
comparison
equal deleted inserted replaced
27086:e0a01300448b 27087:8de2d17323c2
2053 2053
2054 2054
2055 /* Return non-zero if the terminal is capable to display colors. */ 2055 /* Return non-zero if the terminal is capable to display colors. */
2056 2056
2057 DEFUN ("tty-display-color-p", Ftty_display_color_p, Stty_display_color_p, 2057 DEFUN ("tty-display-color-p", Ftty_display_color_p, Stty_display_color_p,
2058 0, 0, 0, 2058 0, 1, 0,
2059 "Return non-nil if TTY can display colors.") 2059 "Return non-nil if TTY can display colors on FRAME.")
2060 () 2060 (frame)
2061 Lisp_Object frame;
2061 { 2062 {
2062 return TN_max_colors > 0 ? Qt : Qnil; 2063 return TN_max_colors > 0 ? Qt : Qnil;
2063 } 2064 }
2064 2065
2065 2066