Permalink
Browse files

comment-start is buffer local. fixes #10

  • Loading branch information...
1 parent 2e96b3c commit 40a5bf1b51b8b0508902db515e2683016f3bb075 @defunkt committed Mar 5, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 coffee-mode.el
View
@@ -580,6 +580,7 @@ line? Returns `t' or `nil'. See the README for more details."
;; perl style comment: "# ..."
(modify-syntax-entry ?# "< b" coffee-mode-syntax-table)
(modify-syntax-entry ?\n "> b" coffee-mode-syntax-table)
+ (make-local-variable 'comment-start)
(setq comment-start "#")
;; single quote strings

0 comments on commit 40a5bf1

Please sign in to comment.