summaryrefslogtreecommitdiff
path: root/chess-pgn.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-16 21:45:58 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-16 21:45:58 +0000
commit9c2237f20b16c2ea8e470ee76374750a32be6ab1 (patch)
treebc826c106da34a5e8dd863dc4ad18288aa1107b4 /chess-pgn.el
parent8772e27d746e16b89e3b8a48a109ca1d24673dc0 (diff)
(chess-pgn-mode): Only make bold the result text, not every move.
Diffstat (limited to 'chess-pgn.el')
-rw-r--r--chess-pgn.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/chess-pgn.el b/chess-pgn.el
index 65558aa..5460caf 100644
--- a/chess-pgn.el
+++ b/chess-pgn.el
@@ -229,9 +229,10 @@ If INDENTED is non-nil, indent the move texts."
(font-lock-add-keywords 'chess-pgn-mode
(list (list "\\[\\(\\S-+\\)\\s-+\".*\"\\]" 1 'font-lock-keyword-face)
- (cons chess-pgn-move-regexp
- 'chess-pgn-bold-face)
- (cons "\\(1-0\\|0-1\\|\\*\\)$" 'font-lock-warning-face)))
+ ;; jww (2002-04-16): this is a bit heavy
+ ;;(cons chess-pgn-move-regexp
+ ;; 'chess-pgn-bold-face)
+ (cons "\\(1-0\\|0-1\\|\\*\\)$" 'chess-pgn-bold-face)))
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.pgn\\'" . chess-pgn-mode))