]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] Emacs go-mode: don't indent the inside of strings.
authorPeter Kleiweg <pkleiweg@xs4all.nl>
Wed, 13 Jun 2012 20:24:27 +0000 (16:24 -0400)
committerSameer Ajmani <sameer@golang.org>
Wed, 13 Jun 2012 20:24:27 +0000 (16:24 -0400)
commitc8ba37cf377497e73d3d924b06505db63b906fe7
tree47eede8856e1315e5adf470bd11c510db61ffa4d
parentd0176e77e7117ec1a6eb063d008d765d32381525
[release-branch.go1] Emacs go-mode: don't indent the inside of strings.

««« backport 8888febbe757
Emacs go-mode: don't indent the inside of strings.

Two fixes for indentation problems:

1. Properly recognize multi-line strings. These start with `, not ".

2. Don't indent a line if the beginning of the line is the end of a multi-line string. This happened for instance when inserting a closing bracket after a multi-line string.

R=sameer
CC=golang-dev
https://golang.org/cl/6157044

»»»
misc/emacs/go-mode.el