# HG changeset patch # User Karl Heuer # Date 837804541 0 # Node ID 612faf2943db27f906346f727b680a490d5fac87 # Parent fb60ef923bb579e7c445810cef334f07618454cd If no dark magenta, use maroon. (gnus-face-dark-name-list): If no dark blue, use royal blue. diff -r fb60ef923bb5 -r 612faf2943db lisp/gnus-cus.el --- a/lisp/gnus-cus.el Wed Jul 17 21:13:24 1996 +0000 +++ b/lisp/gnus-cus.el Fri Jul 19 19:29:01 1996 +0000 @@ -43,8 +43,11 @@ "turquoise")) (defvar gnus-face-dark-name-list - '("dark blue" "firebrick" "dark green" "OrangeRed" - "dark khaki" "dark violet" "SteelBlue4")) + (list + ;; Not all servers have dark blue in rgb.txt. + (if (x-color-defined-p "dark blue") "dark blue" "royal blue") + "firebrick" "dark green" "OrangeRed" + "dark khaki" "dark violet" "SteelBlue4")) ; CornflowerBlue SeaGreen OrangeRed SteelBlue4 DeepPink3 ; DarkOlviveGreen4 @@ -635,7 +638,12 @@ ((and mailp (eq level 2)) . ,(custom-face-lookup "HotPink3" nil nil t)) ((and mailp (eq level 3)) . - ,(custom-face-lookup "dark magenta" nil nil t)) + ,(custom-face-lookup + ;; Not all servers have dark magenta in rgb.txt. + (if (x-color-defined-p "dark magenta") + "dark magenta" + "maroon") + nil nil t)) ((and mailp (eq level 4)) . ,(custom-face-lookup "DeepPink4" nil nil t)) ((and mailp (> level 4)) .