branch: externals/osm
commit cccaf20de935b265832a6fc5c6a25eceb175d23c
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    osm-search: Inhibit message
---
 osm.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/osm.el b/osm.el
index 8f23dfade9..b486e11107 100644
--- a/osm.el
+++ b/osm.el
@@ -1492,8 +1492,10 @@ If the prefix argument LUCKY is non-nil take the first 
result and jump there."
                   (when (and (eq completing-read-function 
#'completing-read-default)
                              (not (bound-and-true-p vertico-mode))
                              (not (bound-and-true-p icomplete-mode)))
-                    ;; Show matches immediately for default completion.
-                    (minibuffer-completion-help)))
+                    (let ((message-log-max nil)
+                          (inhibit-message t))
+                      ;; Show matches immediately for default completion.
+                      (minibuffer-completion-help))))
               (completing-read
                (format "Matches for '%s': " needle)
                (osm--sorted-table results)

Reply via email to