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

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

[nongnu] elpa/go-mode 791dfa5 418/495: require subr-x when interpreting


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode 791dfa5 418/495: require subr-x when interpreting go-guru.el
Date: Sat, 7 Aug 2021 09:06:00 -0400 (EDT)

branch: elpa/go-mode
commit 791dfa5e58cb55bef226ebc02ec8721ab0a2546d
Author: John Shahid <jvshahid@gmail.com>
Commit: Dominik Honnef <dominik@honnef.co>

    require subr-x when interpreting go-guru.el
    
    Otherwise the user will run into the following error when trying to use
    `go-guru-set-scope':
    
      Symbol’s function definition is void: string-join
    
    This doesn't affect compiled files.
    
    [fixes #258]
---
 go-guru.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/go-guru.el b/go-guru.el
index 6e31e33..7bcccf1 100644
--- a/go-guru.el
+++ b/go-guru.el
@@ -143,6 +143,8 @@
   (completing-read-multiple "guru-scope (comma-separated): "
                             (go-packages) nil nil nil 'go-guru--scope-history))
 
+(eval-when-compile (require 'subr-x))
+
 ;;;###autoload
 (defun go-guru-set-scope ()
   "Set the scope for the Go guru, prompting the user to edit the previous 
scope.



reply via email to

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