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

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

[elpa] externals/corfu-doc c2460635d9 19/95: Inhibit message when fetchi


From: ELPA Syncer
Subject: [elpa] externals/corfu-doc c2460635d9 19/95: Inhibit message when fetching the candidate documentation
Date: Tue, 19 Jul 2022 15:58:01 -0400 (EDT)

branch: externals/corfu-doc
commit c2460635d92f4cfd044785fa657fdcdd48faeb2d
Author: Yuwei Tian <ibluefocus@outlook.com>
Commit: Yuwei Tian <ibluefocus@outlook.com>

    Inhibit message when fetching the candidate documentation
---
 corfu-doc.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/corfu-doc.el b/corfu-doc.el
index 4710e67f5f..47e01a1b18 100644
--- a/corfu-doc.el
+++ b/corfu-doc.el
@@ -193,7 +193,9 @@ If this is nil, do not resize corfu doc frame 
automatically."
                (res
                 ;; fix showing candidate location when fetch helpful 
documentation
                 (save-excursion
-                  (funcall fun (nth corfu--index corfu--candidates)))))
+                  (let ((inhibit-message t)
+                        (message-log-max nil))
+                    (funcall fun (nth corfu--index corfu--candidates))))))
          (let ((buf (or (car-safe res) res)))
            (with-current-buffer buf
              (buffer-string)))



reply via email to

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