1
0
mirror of https://github.com/golang/go synced 2024-10-02 18:18:33 -06:00
go/misc/emacs
Rui Ueyama 444dd26bf4 misc/emacs: handle backslash in raw string in Emacs 23
Go-mode in Emacs 23 does not recognize a backslash followed
by a backquote as end of raw string literal, as it does not
support syntax-propertize-function which Go-mode uses to
remove special meaning from backslashes in ``.

This patch provides a fallback mechanism to do the same thing
using font-lock-syntactic-keywords, which is supported by
Emacs 23.

LGTM=dominik.honnef
R=golang-codereviews, dominik.honnef
CC=adonovan, golang-codereviews
https://golang.org/cl/78730048
2014-03-27 15:22:52 -04:00
..
go-mode-load.el misc/emacs: Greatly improve go-mode for Emacs. 2013-02-26 13:48:32 -05:00
go-mode.el misc/emacs: handle backslash in raw string in Emacs 23 2014-03-27 15:22:52 -04:00