Function: mh-colors-available-p

mh-colors-available-p is an autoloaded and byte-compiled function defined in mh-utils.el.gz.

Signature

(mh-colors-available-p)

Documentation

Check if colors are available in the Emacs being used.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-utils.el.gz
;;;###mh-autoload
(defun mh-colors-available-p ()
  "Check if colors are available in the Emacs being used."
  (or (featurep 'xemacs)
      (let ((color-cells (mh-display-color-cells)))
        (and (numberp color-cells) (>= color-cells 8)))))