From 305f167b017f83a243754f800cbf37cbc37558f6 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 5 Oct 2011 12:27:23 -0400 Subject: [PATCH] misc/emacs: fix indent bug Must use case-sensitive search to identify keywords. Fixes #2287. R=bradfitz CC=golang-dev https://golang.org/cl/5182043 --- misc/emacs/go-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/emacs/go-mode.el b/misc/emacs/go-mode.el index 1c90af865f2..271677bc7f8 100644 --- a/misc/emacs/go-mode.el +++ b/misc/emacs/go-mode.el @@ -355,7 +355,7 @@ indented one level." (save-excursion (back-to-indentation) - (let ((cs (go-mode-cs))) + (let ((cs (go-mode-cs)) (case-fold-search nil)) ;; Treat comments and strings differently only if the beginning ;; of the line is contained within them (when (and cs (= (point) (car cs)))