emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/term.c


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/src/term.c
Date: Fri, 25 Jan 2002 09:08:42 -0500

Index: emacs/src/term.c
diff -c emacs/src/term.c:1.135 emacs/src/term.c:1.136
*** emacs/src/term.c:1.135      Fri Jan 25 08:21:49 2002
--- emacs/src/term.c    Fri Jan 25 09:08:42 2002
***************
*** 1976,1984 ****
  
  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;
  {
    return TN_max_colors > 0 ? Qt : Qnil;
  }
--- 1976,1984 ----
  
  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 DISPLAY.  */)
!      (display)
!      Lisp_Object display;
  {
    return TN_max_colors > 0 ? Qt : Qnil;
  }
***************
*** 1986,1994 ****
  /* 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;
  {
    return make_number (TN_max_colors);
  }
--- 1986,1994 ----
  /* Return the number of supported colors.  */
  DEFUN ("tty-display-color-cells", Ftty_display_color_cells,
         Stty_display_color_cells, 0, 1, 0,
!        doc: /* Return the number of colors supported by TTY on DISPLAY.  */)
!      (display)
!      Lisp_Object display;
  {
    return make_number (TN_max_colors);
  }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]