branch: elpa/go-mode
commit 7f87c32464d2eb22ac7a413cac741a89fbfdc740
Author: Dominik Honnef <[email protected]>
Commit: Dominik Honnef <[email protected]>
Permit empty guru scope
Closes gh-243
---
go-guru.el | 2 --
1 file changed, 2 deletions(-)
diff --git a/go-guru.el b/go-guru.el
index e030168..6e31e33 100644
--- a/go-guru.el
+++ b/go-guru.el
@@ -158,8 +158,6 @@ A pattern preceded by '-' is negative, so the scope
matches all encoding packages except encoding/xml."
(interactive)
(let ((scope (go-guru--read-scope)))
- (unless scope
- (error "You must specify a non-empty scope for the Go guru"))
(setq go-guru-scope (string-join scope ","))))
(defun go-guru--set-scope-if-empty ()