1
0
mirror of https://github.com/golang/go synced 2024-11-24 16:10:10 -07:00
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
go-mode.el go-mode.el: fix syntax highlighting of backticks 2012-01-09 12:58:29 -05:00