From: Dominik Honnef Date: Fri, 9 Aug 2013 15:56:15 +0000 (-0700) Subject: misc/emacs: clear previous overlays before adding new ones X-Git-Tag: go1.2rc2~692 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8a9045634905c8777a3b6acd5eb78a8eee7828c6;p=gostls13.git misc/emacs: clear previous overlays before adding new ones R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12578044 --- diff --git a/misc/emacs/go-mode.el b/misc/emacs/go-mode.el index 8e613d6d26..a72fd911cb 100644 --- a/misc/emacs/go-mode.el +++ b/misc/emacs/go-mode.el @@ -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)