aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/play/landmark.el12
1 files changed, 5 insertions, 7 deletions
diff --git a/lisp/play/landmark.el b/lisp/play/landmark.el
index 9f8ca0b7068..15cab857177 100644
--- a/lisp/play/landmark.el
+++ b/lisp/play/landmark.el
@@ -217,12 +217,12 @@
217 "*For making font-lock use the winner's face for the line.") 217 "*For making font-lock use the winner's face for the line.")
218 218
219(defvar lm-font-lock-face-O 219(defvar lm-font-lock-face-O
220 (if window-system 220 (if (display-color-p)
221 (list (facemenu-get-face 'fg:red) 'bold)) 221 (list (facemenu-get-face 'fg:red) 'bold))
222 "*Face to use for Emacs' O.") 222 "*Face to use for Emacs' O.")
223 223
224(defvar lm-font-lock-face-X 224(defvar lm-font-lock-face-X
225 (if window-system 225 (if (display-color-p)
226 (list (facemenu-get-face 'fg:green) 'bold)) 226 (list (facemenu-get-face 'fg:green) 'bold))
227 "*Face to use for your X.") 227 "*Face to use for your X.")
228 228
@@ -893,8 +893,7 @@ If the game is finished, this command requests for another game."
893 ((= value 5) ?W) 893 ((= value 5) ?W)
894 ((= value 6) ?^))) 894 ((= value 6) ?^)))
895 895
896 (and window-system 896 (and (zerop value)
897 (zerop value)
898 (put-text-property (1- (point)) (point) 'mouse-face 'highlight)) 897 (put-text-property (1- (point)) (point) 'mouse-face 'highlight))
899 (delete-char 1) 898 (delete-char 1)
900 (backward-char 1)) 899 (backward-char 1))
@@ -934,9 +933,8 @@ If the game is finished, this command requests for another game."
934 (goto-char (point-max)))) 933 (goto-char (point-max))))
935 (setq point (point)) 934 (setq point (point))
936 (insert ?=) 935 (insert ?=)
937 (if window-system 936 (put-text-property point (point)
938 (put-text-property point (point) 937 'mouse-face 'highlight))
939 'mouse-face 'highlight)))
940 (> (setq i (1- i)) 0)) 938 (> (setq i (1- i)) 0))
941 (if (= i (1- m)) 939 (if (= i (1- m))
942 (setq opoint point)) 940 (setq opoint point))