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

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

[nongnu] elpa/go-mode 3d3ba73 103/495: Use completing-read in godoc--rea


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode 3d3ba73 103/495: Use completing-read in godoc--read-query
Date: Sat, 7 Aug 2021 09:04:52 -0400 (EDT)

branch: elpa/go-mode
commit 3d3ba73ede8d13cf014c16291d1ebae2e512803e
Author: Istvan Marko <mi-git@kismala.com>
Commit: Istvan Marko <mi-git@kismala.com>

    Use completing-read in godoc--read-query
---
 go-mode.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/go-mode.el b/go-mode.el
index f51a3ad..839ec4a 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -452,10 +452,10 @@ you save any file, kind of defeating the point of 
autoloading."
          (symbol (if bounds
                      (buffer-substring-no-properties (car bounds)
                                                      (cdr bounds)))))
-    (read-string (if symbol
-                     (format "godoc (default %s): " symbol)
-                   "godoc: ")
-                 nil nil symbol)))
+    (completing-read (if symbol
+                         (format "godoc (default %s): " symbol)
+                       "godoc: ")
+                     (go-packages) nil nil nil nil symbol)))
 
 (defun godoc--get-buffer (query)
   "Get an empty buffer for a godoc query."



reply via email to

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