]> git.eshelyaron.com Git - emacs.git/commitdiff
(facemenu-read-color): Make it work for ttys.
authorDave Love <fx@gnu.org>
Fri, 30 Jul 1999 21:38:04 +0000 (21:38 +0000)
committerDave Love <fx@gnu.org>
Fri, 30 Jul 1999 21:38:04 +0000 (21:38 +0000)
lisp/facemenu.el

index d0892a99ac6e1659a57434a8abe6b709b8af5cda..7e7f24cd8ec42457b4a0ae031aacda1d7f51ac20 100644 (file)
@@ -468,7 +468,8 @@ These special properties include `invisible', `intangible' and `read-only'."
   (let ((col (completing-read (or prompt "Color: ") 
                              (or facemenu-color-alist
                                  (if window-system
-                                     (mapcar 'list (x-defined-colors))))
+                                     (mapcar 'list (x-defined-colors))
+                                   (mapcar 'list (tty-defined-colors))))
                              nil t)))
     (if (equal "" col)
        nil