mirror of
https://github.com/golang/go
synced 2024-11-22 01:54:42 -07:00
Make comment-start/-end changes buffer-local instead of global.
Fixes #290. R=rsc https://golang.org/cl/160070
This commit is contained in:
parent
770f3538c0
commit
6e6125ffa4
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user