Commit 6e6125ff authored by Austin Clements's avatar Austin Clements Committed by Russ Cox

Make comment-start/-end changes buffer-local instead of global.

Fixes #290.

R=rsc
https://golang.org/cl/160070
parent 770f3538
......@@ -462,8 +462,8 @@ functions, and some types. It also provides indentation that is
(add-hook 'after-change-functions #'go-mode-delayed-electric-hook nil t)
;; Comments
(setq comment-start "// "
comment-end "")
(set (make-local-variable 'comment-start) "// ")
(set (make-local-variable 'comment-end) "")
;; Go style
(setq indent-tabs-mode t))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment