branch: externals/corfu-doc
commit c2460635d92f4cfd044785fa657fdcdd48faeb2d
Author: Yuwei Tian <[email protected]>
Commit: Yuwei Tian <[email protected]>
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)))