Mercurial > emacs
comparison lisp/frame.el @ 42952:c73820c5ecbf
(display-color-cells): Use tty-display-color-cells.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 25 Jan 2002 13:19:28 +0000 |
parents | c386756cfa43 |
children | d1a09152b7b5 |
comparison
equal
deleted
inserted
replaced
42951:de5c4caf0969 | 42952:c73820c5ecbf |
---|---|
1042 ((memq frame-type '(x w32 mac)) | 1042 ((memq frame-type '(x w32 mac)) |
1043 (x-display-color-cells display)) | 1043 (x-display-color-cells display)) |
1044 ((eq frame-type 'pc) | 1044 ((eq frame-type 'pc) |
1045 16) | 1045 16) |
1046 (t | 1046 (t |
1047 (length (tty-color-alist)))))) | 1047 (tty-display-color-cells))))) |
1048 | 1048 |
1049 (defun display-visual-class (&optional display) | 1049 (defun display-visual-class (&optional display) |
1050 "Returns the visual class of DISPLAY. | 1050 "Returns the visual class of DISPLAY. |
1051 The value is one of the symbols `static-gray', `gray-scale', | 1051 The value is one of the symbols `static-gray', `gray-scale', |
1052 `static-color', `pseudo-color', `true-color', or `direct-color'." | 1052 `static-color', `pseudo-color', `true-color', or `direct-color'." |