mirror of
https://github.com/golang/go
synced 2024-11-02 09:03:03 +00:00
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
This commit is contained in:
parent
351e1d5745
commit
305f167b01
1 changed files with 1 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue