diff options
| author | Kim F. Storm | 2004-09-17 21:26:20 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-09-17 21:26:20 +0000 |
| commit | 66507a7a3e8073bfca902187457a8027938d617a (patch) | |
| tree | c315ebfb0744348ca2240f84028bf0e8281b3e85 | |
| parent | c8be3fe8d7f406760e135b029362a97653166825 (diff) | |
| download | emacs-66507a7a3e8073bfca902187457a8027938d617a.tar.gz emacs-66507a7a3e8073bfca902187457a8027938d617a.zip | |
From Dan Nicolaescu <dann@ics.uci.edu>
(ediff-current-diff-face-A)
(ediff-current-diff-face-B, ediff-current-diff-face-C)
(ediff-current-diff-face-Ancestor)
(ediff-fine-diff-face-A, ediff-fine-diff-face-B)
(ediff-fine-diff-face-C, ediff-fine-diff-face-Ancestor)
(ediff-even-diff-face-A, ediff-even-diff-face-B)
(ediff-even-diff-face-C, ediff-even-diff-face-Ancestor)
(ediff-odd-diff-face-A, ediff-odd-diff-face-B)
(ediff-odd-diff-face-C, ediff-odd-diff-face-Ancestor):
Use min-colors.
| -rw-r--r-- | lisp/ediff-init.el | 235 |
1 files changed, 175 insertions, 60 deletions
diff --git a/lisp/ediff-init.el b/lisp/ediff-init.el index 81299b9c63a..80beb4a872d 100644 --- a/lisp/ediff-init.el +++ b/lisp/ediff-init.el | |||
| @@ -902,9 +902,15 @@ to temp files when Ediff needs to find fine differences." | |||
| 902 | 902 | ||
| 903 | 903 | ||
| 904 | (defface ediff-current-diff-face-A | 904 | (defface ediff-current-diff-face-A |
| 905 | '((((type tty)) (:foreground "blue3" :background "yellow3")) | 905 | (if ediff-emacs-p |
| 906 | (((class color)) (:foreground "firebrick" :background "pale green")) | 906 | '((((class color) (min-colors 16)) |
| 907 | (t (:inverse-video t))) | 907 | (:foreground "firebrick" :background "pale green")) |
| 908 | (((class color)) | ||
| 909 | (:foreground "blue3" :background "yellow3")) | ||
| 910 | (t (:inverse-video t))) | ||
| 911 | '((((type tty)) (:foreground "blue3" :background "yellow3")) | ||
| 912 | (((class color)) (:foreground "firebrick" :background "pale green")) | ||
| 913 | (t (:inverse-video t)))) | ||
| 908 | "Face for highlighting the selected difference in buffer A." | 914 | "Face for highlighting the selected difference in buffer A." |
| 909 | :group 'ediff-highlighting) | 915 | :group 'ediff-highlighting) |
| 910 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, | 916 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, |
| @@ -925,10 +931,17 @@ this variable represents.") | |||
| 925 | 931 | ||
| 926 | 932 | ||
| 927 | (defface ediff-current-diff-face-B | 933 | (defface ediff-current-diff-face-B |
| 928 | '((((type tty)) (:foreground "magenta3" :background "yellow3" | 934 | (if ediff-emacs-p |
| 929 | :weight bold)) | 935 | '((((class color) (min-colors 16)) |
| 930 | (((class color)) (:foreground "DarkOrchid" :background "Yellow")) | 936 | (:foreground "DarkOrchid" :background "Yellow")) |
| 931 | (t (:inverse-video t))) | 937 | (((class color)) |
| 938 | (:foreground "magenta3" :background "yellow3" | ||
| 939 | :weight bold)) | ||
| 940 | (t (:inverse-video t))) | ||
| 941 | '((((type tty)) (:foreground "magenta3" :background "yellow3" | ||
| 942 | :weight bold)) | ||
| 943 | (((class color)) (:foreground "DarkOrchid" :background "Yellow")) | ||
| 944 | (t (:inverse-video t)))) | ||
| 932 | "Face for highlighting the selected difference in buffer B." | 945 | "Face for highlighting the selected difference in buffer B." |
| 933 | :group 'ediff-highlighting) | 946 | :group 'ediff-highlighting) |
| 934 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, | 947 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, |
| @@ -948,9 +961,15 @@ this variable represents.") | |||
| 948 | 961 | ||
| 949 | 962 | ||
| 950 | (defface ediff-current-diff-face-C | 963 | (defface ediff-current-diff-face-C |
| 951 | '((((type tty)) (:foreground "cyan3" :background "yellow3" :weight bold)) | 964 | (if ediff-emacs-p |
| 952 | (((class color)) (:foreground "Navy" :background "Pink")) | 965 | '((((class color) (min-colors 16)) |
| 953 | (t (:inverse-video t))) | 966 | (:foreground "Navy" :background "Pink")) |
| 967 | (((class color)) | ||
| 968 | (:foreground "cyan3" :background "yellow3" :weight bold)) | ||
| 969 | (t (:inverse-video t))) | ||
| 970 | '((((type tty)) (:foreground "cyan3" :background "yellow3" :weight bold)) | ||
| 971 | (((class color)) (:foreground "Navy" :background "Pink")) | ||
| 972 | (t (:inverse-video t)))) | ||
| 954 | "Face for highlighting the selected difference in buffer C." | 973 | "Face for highlighting the selected difference in buffer C." |
| 955 | :group 'ediff-highlighting) | 974 | :group 'ediff-highlighting) |
| 956 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, | 975 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, |
| @@ -970,9 +989,15 @@ this variable represents.") | |||
| 970 | 989 | ||
| 971 | 990 | ||
| 972 | (defface ediff-current-diff-face-Ancestor | 991 | (defface ediff-current-diff-face-Ancestor |
| 973 | '((((type tty)) (:foreground "black" :background "magenta3")) | 992 | (if ediff-emacs-p |
| 974 | (((class color)) (:foreground "Black" :background "VioletRed")) | 993 | '((((class color) (min-colors 16)) |
| 975 | (t (:inverse-video t))) | 994 | (:foreground "Black" :background "VioletRed")) |
| 995 | (((class color)) | ||
| 996 | (:foreground "black" :background "magenta3")) | ||
| 997 | (t (:inverse-video t))) | ||
| 998 | '((((type tty)) (:foreground "black" :background "magenta3")) | ||
| 999 | (((class color)) (:foreground "Black" :background "VioletRed")) | ||
| 1000 | (t (:inverse-video t)))) | ||
| 976 | "Face for highlighting the selected difference in buffer Ancestor." | 1001 | "Face for highlighting the selected difference in buffer Ancestor." |
| 977 | :group 'ediff-highlighting) | 1002 | :group 'ediff-highlighting) |
| 978 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, | 1003 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, |
| @@ -992,9 +1017,15 @@ this variable represents.") | |||
| 992 | 1017 | ||
| 993 | 1018 | ||
| 994 | (defface ediff-fine-diff-face-A | 1019 | (defface ediff-fine-diff-face-A |
| 995 | '((((type tty)) (:foreground "white" :background "sky blue" :weight bold)) | 1020 | (if ediff-emacs-p |
| 996 | (((class color)) (:foreground "Navy" :background "sky blue")) | 1021 | '((((class color) (min-colors 16)) |
| 997 | (t (:underline t :stipple "gray3"))) | 1022 | (:foreground "Navy" :background "sky blue")) |
| 1023 | (((class color)) | ||
| 1024 | (:foreground "white" :background "sky blue" :weight bold)) | ||
| 1025 | (t (:underline t :stipple "gray3"))) | ||
| 1026 | '((((type tty)) (:foreground "white" :background "sky blue" :weight bold)) | ||
| 1027 | (((class color)) (:foreground "Navy" :background "sky blue")) | ||
| 1028 | (t (:underline t :stipple "gray3")))) | ||
| 998 | "Face for highlighting the refinement of the selected diff in buffer A." | 1029 | "Face for highlighting the refinement of the selected diff in buffer A." |
| 999 | :group 'ediff-highlighting) | 1030 | :group 'ediff-highlighting) |
| 1000 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, | 1031 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, |
| @@ -1007,9 +1038,15 @@ this variable represents.") | |||
| 1007 | (ediff-hide-face 'ediff-fine-diff-face-A) | 1038 | (ediff-hide-face 'ediff-fine-diff-face-A) |
| 1008 | 1039 | ||
| 1009 | (defface ediff-fine-diff-face-B | 1040 | (defface ediff-fine-diff-face-B |
| 1010 | '((((type tty)) (:foreground "magenta3" :background "cyan3")) | 1041 | (if ediff-emacs-p |
| 1011 | (((class color)) (:foreground "Black" :background "cyan")) | 1042 | '((((class color) (min-colors 16)) |
| 1012 | (t (:underline t :stipple "gray3"))) | 1043 | (:foreground "Black" :background "cyan")) |
| 1044 | (((class color)) | ||
| 1045 | (:foreground "magenta3" :background "cyan3")) | ||
| 1046 | (t (:underline t :stipple "gray3"))) | ||
| 1047 | '((((type tty)) (:foreground "magenta3" :background "cyan3")) | ||
| 1048 | (((class color)) (:foreground "Black" :background "cyan")) | ||
| 1049 | (t (:underline t :stipple "gray3")))) | ||
| 1013 | "Face for highlighting the refinement of the selected diff in buffer B." | 1050 | "Face for highlighting the refinement of the selected diff in buffer B." |
| 1014 | :group 'ediff-highlighting) | 1051 | :group 'ediff-highlighting) |
| 1015 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, | 1052 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, |
| @@ -1022,11 +1059,20 @@ this variable represents.") | |||
| 1022 | (ediff-hide-face 'ediff-fine-diff-face-B) | 1059 | (ediff-hide-face 'ediff-fine-diff-face-B) |
| 1023 | 1060 | ||
| 1024 | (defface ediff-fine-diff-face-C | 1061 | (defface ediff-fine-diff-face-C |
| 1025 | '((((type tty)) (:foreground "yellow3" :background "Turquoise" | 1062 | (if ediff-emacs-p |
| 1026 | :weight bold)) | 1063 | '((((type pc)) |
| 1027 | (((type pc)) (:foreground "white" :background "Turquoise")) | 1064 | (:foreground "white" :background "Turquoise")) |
| 1028 | (((class color)) (:foreground "Black" :background "Turquoise")) | 1065 | (((class color) (min-colors 16)) |
| 1029 | (t (:underline t :stipple "gray3"))) | 1066 | (:foreground "Black" :background "Turquoise")) |
| 1067 | (((class color)) | ||
| 1068 | (:foreground "yellow3" :background "Turquoise" | ||
| 1069 | :weight bold)) | ||
| 1070 | (t (:underline t :stipple "gray3"))) | ||
| 1071 | '((((type tty)) (:foreground "yellow3" :background "Turquoise" | ||
| 1072 | :weight bold)) | ||
| 1073 | (((type pc)) (:foreground "white" :background "Turquoise")) | ||
| 1074 | (((class color)) (:foreground "Black" :background "Turquoise")) | ||
| 1075 | (t (:underline t :stipple "gray3")))) | ||
| 1030 | "Face for highlighting the refinement of the selected diff in buffer C." | 1076 | "Face for highlighting the refinement of the selected diff in buffer C." |
| 1031 | :group 'ediff-highlighting) | 1077 | :group 'ediff-highlighting) |
| 1032 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, | 1078 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, |
| @@ -1039,9 +1085,15 @@ this variable represents.") | |||
| 1039 | (ediff-hide-face 'ediff-fine-diff-face-C) | 1085 | (ediff-hide-face 'ediff-fine-diff-face-C) |
| 1040 | 1086 | ||
| 1041 | (defface ediff-fine-diff-face-Ancestor | 1087 | (defface ediff-fine-diff-face-Ancestor |
| 1042 | '((((type tty)) (:foreground "red3" :background "green")) | 1088 | (if ediff-emacs-p |
| 1043 | (((class color)) (:foreground "Black" :background "Green")) | 1089 | '((((class color) (min-colors 16)) |
| 1044 | (t (:underline t :stipple "gray3"))) | 1090 | (:foreground "Black" :background "Green")) |
| 1091 | (((class color)) | ||
| 1092 | (:foreground "red3" :background "green")) | ||
| 1093 | (t (:underline t :stipple "gray3"))) | ||
| 1094 | '((((type tty)) (:foreground "red3" :background "green")) | ||
| 1095 | (((class color)) (:foreground "Black" :background "Green")) | ||
| 1096 | (t (:underline t :stipple "gray3")))) | ||
| 1045 | "Face for highlighting the refinement of the selected diff in the ancestor buffer. | 1097 | "Face for highlighting the refinement of the selected diff in the ancestor buffer. |
| 1046 | At present, this face is not used and no fine differences are computed for the | 1098 | At present, this face is not used and no fine differences are computed for the |
| 1047 | ancestor buffer." | 1099 | ancestor buffer." |
| @@ -1065,11 +1117,20 @@ this variable represents.") | |||
| 1065 | (t "Stipple"))) | 1117 | (t "Stipple"))) |
| 1066 | 1118 | ||
| 1067 | (defface ediff-even-diff-face-A | 1119 | (defface ediff-even-diff-face-A |
| 1068 | `((((type tty)) (:foreground "red3" :background "light grey" | 1120 | (if ediff-emacs-p |
| 1069 | :weight bold)) | 1121 | `((((type pc)) |
| 1070 | (((type pc)) (:foreground "green3" :background "light grey")) | 1122 | (:foreground "green3" :background "light grey")) |
| 1071 | (((class color)) (:foreground "Black" :background "light grey")) | 1123 | (((class color) (min-colors 16)) |
| 1072 | (t (:italic t :stipple ,stipple-pixmap))) | 1124 | (:foreground "Black" :background "light grey")) |
| 1125 | (((class color)) | ||
| 1126 | (:foreground "red3" :background "light grey" | ||
| 1127 | :weight bold)) | ||
| 1128 | (t (:italic t :stipple ,stipple-pixmap))) | ||
| 1129 | `((((type tty)) (:foreground "red3" :background "light grey" | ||
| 1130 | :weight bold)) | ||
| 1131 | (((type pc)) (:foreground "green3" :background "light grey")) | ||
| 1132 | (((class color)) (:foreground "Black" :background "light grey")) | ||
| 1133 | (t (:italic t :stipple ,stipple-pixmap)))) | ||
| 1073 | "Face for highlighting even-numbered non-current differences in buffer A." | 1134 | "Face for highlighting even-numbered non-current differences in buffer A." |
| 1074 | :group 'ediff-highlighting) | 1135 | :group 'ediff-highlighting) |
| 1075 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, | 1136 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, |
| @@ -1082,9 +1143,15 @@ this variable represents.") | |||
| 1082 | (ediff-hide-face 'ediff-even-diff-face-A) | 1143 | (ediff-hide-face 'ediff-even-diff-face-A) |
| 1083 | 1144 | ||
| 1084 | (defface ediff-even-diff-face-B | 1145 | (defface ediff-even-diff-face-B |
| 1085 | `((((type tty)) (:foreground "blue3" :background "Grey" :weight bold)) | 1146 | (if ediff-emacs-p |
| 1086 | (((class color)) (:foreground "White" :background "Grey")) | 1147 | `((((class color) (min-colors 16)) |
| 1087 | (t (:italic t :stipple ,stipple-pixmap))) | 1148 | (:foreground "White" :background "Grey")) |
| 1149 | (((class color)) | ||
| 1150 | (:foreground "blue3" :background "Grey" :weight bold)) | ||
| 1151 | (t (:italic t :stipple ,stipple-pixmap))) | ||
| 1152 | `((((type tty)) (:foreground "blue3" :background "Grey" :weight bold)) | ||
| 1153 | (((class color)) (:foreground "White" :background "Grey")) | ||
| 1154 | (t (:italic t :stipple ,stipple-pixmap)))) | ||
| 1088 | "Face for highlighting even-numbered non-current differences in buffer B." | 1155 | "Face for highlighting even-numbered non-current differences in buffer B." |
| 1089 | :group 'ediff-highlighting) | 1156 | :group 'ediff-highlighting) |
| 1090 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, | 1157 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, |
| @@ -1097,11 +1164,20 @@ this variable represents.") | |||
| 1097 | (ediff-hide-face 'ediff-even-diff-face-B) | 1164 | (ediff-hide-face 'ediff-even-diff-face-B) |
| 1098 | 1165 | ||
| 1099 | (defface ediff-even-diff-face-C | 1166 | (defface ediff-even-diff-face-C |
| 1100 | `((((type tty)) (:foreground "yellow3" :background "light grey" | 1167 | (if ediff-emacs-p |
| 1101 | :weight bold)) | 1168 | `((((type pc)) |
| 1102 | (((type pc)) (:foreground "yellow3" :background "light grey")) | 1169 | (:foreground "yellow3" :background "light grey")) |
| 1103 | (((class color)) (:foreground "Black" :background "light grey")) | 1170 | (((class color) (min-colors 16)) |
| 1104 | (t (:italic t :stipple ,stipple-pixmap))) | 1171 | (:foreground "Black" :background "light grey")) |
| 1172 | (((class color)) | ||
| 1173 | (:foreground "yellow3" :background "light grey" | ||
| 1174 | :weight bold)) | ||
| 1175 | (t (:italic t :stipple ,stipple-pixmap))) | ||
| 1176 | `((((type tty)) (:foreground "yellow3" :background "light grey" | ||
| 1177 | :weight bold)) | ||
| 1178 | (((type pc)) (:foreground "yellow3" :background "light grey")) | ||
| 1179 | (((class color)) (:foreground "Black" :background "light grey")) | ||
| 1180 | (t (:italic t :stipple ,stipple-pixmap)))) | ||
| 1105 | "Face for highlighting even-numbered non-current differences in buffer C." | 1181 | "Face for highlighting even-numbered non-current differences in buffer C." |
| 1106 | :group 'ediff-highlighting) | 1182 | :group 'ediff-highlighting) |
| 1107 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, | 1183 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, |
| @@ -1114,11 +1190,20 @@ this variable represents.") | |||
| 1114 | (ediff-hide-face 'ediff-even-diff-face-C) | 1190 | (ediff-hide-face 'ediff-even-diff-face-C) |
| 1115 | 1191 | ||
| 1116 | (defface ediff-even-diff-face-Ancestor | 1192 | (defface ediff-even-diff-face-Ancestor |
| 1117 | `((((type tty)) (:foreground "cyan3" :background "light grey" | 1193 | (if ediff-emacs-p |
| 1118 | :weight bold)) | 1194 | `((((type pc)) |
| 1119 | (((type pc)) (:foreground "cyan3" :background "light grey")) | 1195 | (:foreground "cyan3" :background "light grey")) |
| 1120 | (((class color)) (:foreground "White" :background "Grey")) | 1196 | (((class color) (min-colors 16)) |
| 1121 | (t (:italic t :stipple ,stipple-pixmap))) | 1197 | (:foreground "White" :background "Grey")) |
| 1198 | (((class color)) | ||
| 1199 | (:foreground "cyan3" :background "light grey" | ||
| 1200 | :weight bold)) | ||
| 1201 | (t (:italic t :stipple ,stipple-pixmap))) | ||
| 1202 | `((((type tty)) (:foreground "cyan3" :background "light grey" | ||
| 1203 | :weight bold)) | ||
| 1204 | (((type pc)) (:foreground "cyan3" :background "light grey")) | ||
| 1205 | (((class color)) (:foreground "White" :background "Grey")) | ||
| 1206 | (t (:italic t :stipple ,stipple-pixmap)))) | ||
| 1122 | "Face for highlighting even-numbered non-current differences in the ancestor buffer." | 1207 | "Face for highlighting even-numbered non-current differences in the ancestor buffer." |
| 1123 | :group 'ediff-highlighting) | 1208 | :group 'ediff-highlighting) |
| 1124 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, | 1209 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, |
| @@ -1138,10 +1223,18 @@ this variable represents.") | |||
| 1138 | (Ancestor . ediff-even-diff-face-Ancestor))) | 1223 | (Ancestor . ediff-even-diff-face-Ancestor))) |
| 1139 | 1224 | ||
| 1140 | (defface ediff-odd-diff-face-A | 1225 | (defface ediff-odd-diff-face-A |
| 1141 | '((((type tty)) (:foreground "red3" :background "black" :weight bold)) | 1226 | (if ediff-emacs-p |
| 1142 | (((type pc)) (:foreground "green3" :background "gray40")) | 1227 | '((((type pc)) |
| 1143 | (((class color)) (:foreground "White" :background "Grey")) | 1228 | (:foreground "green3" :background "gray40")) |
| 1144 | (t (:italic t :stipple "gray1"))) | 1229 | (((class color) (min-colors 16)) |
| 1230 | (:foreground "White" :background "Grey")) | ||
| 1231 | (((class color)) | ||
| 1232 | (:foreground "red3" :background "black" :weight bold)) | ||
| 1233 | (t (:italic t :stipple "gray1"))) | ||
| 1234 | '((((type tty)) (:foreground "red3" :background "black" :weight bold)) | ||
| 1235 | (((type pc)) (:foreground "green3" :background "gray40")) | ||
| 1236 | (((class color)) (:foreground "White" :background "Grey")) | ||
| 1237 | (t (:italic t :stipple "gray1")))) | ||
| 1145 | "Face for highlighting odd-numbered non-current differences in buffer A." | 1238 | "Face for highlighting odd-numbered non-current differences in buffer A." |
| 1146 | :group 'ediff-highlighting) | 1239 | :group 'ediff-highlighting) |
| 1147 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, | 1240 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, |
| @@ -1155,10 +1248,18 @@ this variable represents.") | |||
| 1155 | 1248 | ||
| 1156 | 1249 | ||
| 1157 | (defface ediff-odd-diff-face-B | 1250 | (defface ediff-odd-diff-face-B |
| 1158 | '((((type tty)) (:foreground "cyan3" :background "black" :weight bold)) | 1251 | (if ediff-emacs-p |
| 1159 | (((type pc)) (:foreground "White" :background "gray40")) | 1252 | '((((type pc)) |
| 1160 | (((class color)) (:foreground "Black" :background "light grey")) | 1253 | (:foreground "White" :background "gray40")) |
| 1161 | (t (:italic t :stipple "gray1"))) | 1254 | (((class color) (min-colors 16)) |
| 1255 | (:foreground "Black" :background "light grey")) | ||
| 1256 | (((class color)) | ||
| 1257 | (:foreground "cyan3" :background "black" :weight bold)) | ||
| 1258 | (t (:italic t :stipple "gray1"))) | ||
| 1259 | '((((type tty)) (:foreground "cyan3" :background "black" :weight bold)) | ||
| 1260 | (((type pc)) (:foreground "White" :background "gray40")) | ||
| 1261 | (((class color)) (:foreground "Black" :background "light grey")) | ||
| 1262 | (t (:italic t :stipple "gray1")))) | ||
| 1162 | "Face for highlighting odd-numbered non-current differences in buffer B." | 1263 | "Face for highlighting odd-numbered non-current differences in buffer B." |
| 1163 | :group 'ediff-highlighting) | 1264 | :group 'ediff-highlighting) |
| 1164 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, | 1265 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, |
| @@ -1171,10 +1272,18 @@ this variable represents.") | |||
| 1171 | (ediff-hide-face 'ediff-odd-diff-face-B) | 1272 | (ediff-hide-face 'ediff-odd-diff-face-B) |
| 1172 | 1273 | ||
| 1173 | (defface ediff-odd-diff-face-C | 1274 | (defface ediff-odd-diff-face-C |
| 1174 | '((((type tty)) (:foreground "yellow3" :background "black" :weight bold)) | 1275 | (if ediff-emacs-p |
| 1175 | (((type pc)) (:foreground "yellow3" :background "gray40")) | 1276 | '((((type pc)) |
| 1176 | (((class color)) (:foreground "White" :background "Grey")) | 1277 | (:foreground "yellow3" :background "gray40")) |
| 1177 | (t (:italic t :stipple "gray1"))) | 1278 | (((class color) (min-colors 16)) |
| 1279 | (:foreground "White" :background "Grey")) | ||
| 1280 | (((class color)) | ||
| 1281 | (:foreground "yellow3" :background "black" :weight bold)) | ||
| 1282 | (t (:italic t :stipple "gray1"))) | ||
| 1283 | '((((type tty)) (:foreground "yellow3" :background "black" :weight bold)) | ||
| 1284 | (((type pc)) (:foreground "yellow3" :background "gray40")) | ||
| 1285 | (((class color)) (:foreground "White" :background "Grey")) | ||
| 1286 | (t (:italic t :stipple "gray1")))) | ||
| 1178 | "Face for highlighting odd-numbered non-current differences in buffer C." | 1287 | "Face for highlighting odd-numbered non-current differences in buffer C." |
| 1179 | :group 'ediff-highlighting) | 1288 | :group 'ediff-highlighting) |
| 1180 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, | 1289 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, |
| @@ -1187,9 +1296,15 @@ this variable represents.") | |||
| 1187 | (ediff-hide-face 'ediff-odd-diff-face-C) | 1296 | (ediff-hide-face 'ediff-odd-diff-face-C) |
| 1188 | 1297 | ||
| 1189 | (defface ediff-odd-diff-face-Ancestor | 1298 | (defface ediff-odd-diff-face-Ancestor |
| 1190 | '((((type tty)) (:foreground "green3" :background "black" :weight bold)) | 1299 | (if ediff-emacs-p |
| 1191 | (((class color)) (:foreground "cyan3" :background "gray40")) | 1300 | '((((class color) (min-colors 16)) |
| 1192 | (t (:italic t :stipple "gray1"))) | 1301 | (:foreground "cyan3" :background "gray40")) |
| 1302 | (((class color)) | ||
| 1303 | (:foreground "green3" :background "black" :weight bold)) | ||
| 1304 | (t (:italic t :stipple "gray1"))) | ||
| 1305 | '((((type tty)) (:foreground "green3" :background "black" :weight bold)) | ||
| 1306 | (((class color)) (:foreground "cyan3" :background "gray40")) | ||
| 1307 | (t (:italic t :stipple "gray1")))) | ||
| 1193 | "Face for highlighting odd-numbered non-current differences in the ancestor buffer." | 1308 | "Face for highlighting odd-numbered non-current differences in the ancestor buffer." |
| 1194 | :group 'ediff-highlighting) | 1309 | :group 'ediff-highlighting) |
| 1195 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, | 1310 | ;; An internal variable. Ediff takes the face from here. When unhighlighting, |