go/misc/emacs
Florian Weimer 70ed0ac588 go-mode.el: fix syntax highlighting of backticks
Instead of syntax-tables, an extended go-mode-cs is used for
from a font-lock callback.

Cache invalidation must happen in a before-change-function
because font-lock runs in an after-change-function, potentially
before the cache invalidation takes place.

Performance is reasonable, even with src/pkg/html/entity.go
and test/fixedbugs/bug257.go.

Fixes #2330.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5529045
2012-01-09 12:58:29 -05:00
..
go-mode-load.el misc/emacs: bug fix: use UTF-8 when invoking gofmt as a subprocess. 2011-05-13 11:05:03 -04:00
go-mode.el go-mode.el: fix syntax highlighting of backticks 2012-01-09 12:58:29 -05:00