From 4da693bb88d23cd229cd4aac458b30c4892671f3 Mon Sep 17 00:00:00 2001 From: Mario Lang Date: Tue, 7 Dec 2004 15:19:10 +0000 Subject: Make comment-start and comment-end explicitly buffer-local (ks) --- chess-pgn.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chess-pgn.el') 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 "}") -- cgit v1.2.3