emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/go-mode 7f87c32 416/495: Permit empty guru scope


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode 7f87c32 416/495: Permit empty guru scope
Date: Sat, 7 Aug 2021 09:05:59 -0400 (EDT)

branch: elpa/go-mode
commit 7f87c32464d2eb22ac7a413cac741a89fbfdc740
Author: Dominik Honnef <dominik@honnef.co>
Commit: Dominik Honnef <dominik@honnef.co>

    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 ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]