/[emacs]/emacs/src/term.c
ViewVC logotype

Diff of /emacs/src/term.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.134 by pj, Thu Jan 17 10:26:52 2002 UTC revision 1.135 by eliz, Fri Jan 25 13:21:49 2002 UTC
# Line 1983  DEFUN ("tty-display-color-p", Ftty_displ Line 1983  DEFUN ("tty-display-color-p", Ftty_displ
1983    return TN_max_colors > 0 ? Qt : Qnil;    return TN_max_colors > 0 ? Qt : Qnil;
1984  }  }
1985    
1986    /* Return the number of supported colors.  */
1987    DEFUN ("tty-display-color-cells", Ftty_display_color_cells,
1988           Stty_display_color_cells, 0, 1, 0,
1989      "Return the number of colors supported by TTY on FRAME.")
1990         (frame)
1991         Lisp_Object frame;
1992    {
1993      return make_number (TN_max_colors);
1994    }
1995    
1996  #ifndef WINDOWSNT  #ifndef WINDOWSNT
1997    
1998  /* Save or restore the default color-related capabilities of this  /* Save or restore the default color-related capabilities of this
# Line 2560  The function should accept no arguments. Line 2570  The function should accept no arguments.
2570    Vring_bell_function = Qnil;    Vring_bell_function = Qnil;
2571    
2572    defsubr (&Stty_display_color_p);    defsubr (&Stty_display_color_p);
2573      defsubr (&Stty_display_color_cells);
2574  }  }
2575    

Legend:
Removed from v.1.134  
changed lines
  Added in v.1.135

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26