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)