summaryrefslogtreecommitdiff
path: root/chess-pgn.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-pgn.el')
-rw-r--r--chess-pgn.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/chess-pgn.el b/chess-pgn.el
index 489f357..370d1ae 100644
--- a/chess-pgn.el
+++ b/chess-pgn.el
@@ -227,6 +227,8 @@ PGN text."
;;;###autoload
(define-derived-mode chess-pgn-mode text-mode "PGN"
"A mode for editing chess PGN files."
+ (make-variable-buffer-local 'comment-start)
+ (make-variable-buffer-local 'comment-end)
(setq comment-start "{"
comment-end "}")