misc/emacs: clear previous overlays before adding new ones

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/12578044
This commit is contained in:
Dominik Honnef 2013-08-09 08:56:15 -07:00 committed by Brad Fitzpatrick
parent 58845656e8
commit 8a90456349

View file

@ -998,6 +998,7 @@ coverage information gathered via go test -coverprofile=INPUT."
(get-buffer gocov-buffer-name)
(clone-indirect-buffer gocov-buffer-name nil))
(save-excursion
(remove-overlays)
(overlay-put
(make-overlay
(point-min)