From 9c2237f20b16c2ea8e470ee76374750a32be6ab1 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 16 Apr 2002 21:45:58 +0000 Subject: (chess-pgn-mode): Only make bold the result text, not every move. --- chess-pgn.el | 7 ++++--- 1 file 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)) -- cgit v1.2.3