Function: facemenu-color-equal

facemenu-color-equal is a byte-compiled function defined in facemenu.el.gz.

Signature

(facemenu-color-equal A B)

Documentation

Return t if colors A and B are the same color.

A and B should be strings naming colors. This function queries the display system to find out what the color names mean. It returns nil if the colors differ or if it can't determine the correct answer.

Source Code

;; Defined in /usr/src/emacs/lisp/facemenu.el.gz
(defun facemenu-color-equal (a b)
  "Return t if colors A and B are the same color.
A and B should be strings naming colors.
This function queries the display system to find out what the color
names mean.  It returns nil if the colors differ or if it can't
determine the correct answer."
  (cond ((equal a b) t)
	((equal (color-values a) (color-values b)))))