summaryrefslogtreecommitdiff
path: root/chess-pgn.el
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2004-12-07 15:19:10 +0000
committerMario Lang <mlang@delysid.org>2004-12-07 15:19:10 +0000
commit4da693bb88d23cd229cd4aac458b30c4892671f3 (patch)
treebdb22447d020220d4035053b1b78b1dd3a7f3de8 /chess-pgn.el
parent15fbb6f29ce0d9403c9194458f7cef73ca0f6776 (diff)
Make comment-start and comment-end explicitly buffer-local (ks)
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 "}")