[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu-doc 122e1f5900 32/95: Only record candidate that
From: |
ELPA Syncer |
Subject: |
[elpa] externals/corfu-doc 122e1f5900 32/95: Only record candidate that has displayed the doc popup |
Date: |
Tue, 19 Jul 2022 15:58:02 -0400 (EDT) |
branch: externals/corfu-doc
commit 122e1f5900a1e27c4aa1dc813c8f936cc3ab8b01
Author: Yuwei Tian <ibluefocus@outlook.com>
Commit: Yuwei Tian <ibluefocus@outlook.com>
Only record candidate that has displayed the doc popup
---
corfu-doc.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/corfu-doc.el b/corfu-doc.el
index 973df532e4..02e9e8d138 100644
--- a/corfu-doc.el
+++ b/corfu-doc.el
@@ -306,17 +306,18 @@ If this is nil, do not resize corfu doc frame
automatically."
(unless (equal cf-frame-edges corfu-doc--cf-frame-edges)
(apply #'corfu-doc--set-frame-position
corfu-doc--frame
- (corfu-doc--calculate-doc-frame-position))))
+ (corfu-doc--calculate-doc-frame-position))
+ (setq corfu-doc--cf-frame-edges cf-frame-edges)))
;; fetch documentation and show
(when-let* ((res (ignore-errors (corfu-doc-fetch-documentation)))
(doc (unless (string-empty-p (string-trim res)) res)))
(corfu-doc--make-frame doc)
(apply #'corfu-doc--set-frame-position
corfu-doc--frame
- (corfu-doc--calculate-doc-frame-position))))
+ (corfu-doc--calculate-doc-frame-position))
+ (setq corfu-doc--candidate candidate)
+ (setq corfu-doc--cf-frame-edges cf-frame-edges)))
(corfu--echo-refresh)
- (setq corfu-doc--candidate candidate)
- (setq corfu-doc--cf-frame-edges cf-frame-edges)
(setq corfu-doc--window (selected-window)))))
(defun corfu-doc-manually ()
- [elpa] externals/corfu-doc ef1edadb4f 29/95: README: Document `corfu-doc-delay`, (continued)
- [elpa] externals/corfu-doc ef1edadb4f 29/95: README: Document `corfu-doc-delay`, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc 5d08342a82 28/95: Fix #6: do not show the documentation popup immediately, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc d051b8e0b1 23/95: Place doc frame at top or bottom of the completion popup frame, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc 7926ff406c 47/95: Avoid using map-merge, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc a8835a6540 43/95: Version 0.4.0, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc 75faa58328 21/95: Version 0.0.5, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc d7d7c27703 70/95: Version 0.6.2, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc d5224ad109 30/95: Decrease popup displaying delay to 0.2 seconds, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc 4ff6f35c18 64/95: Fix #12: make the popup functions more overrideable, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc 95a1a1731d 51/95: Add contributions note, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc 122e1f5900 32/95: Only record candidate that has displayed the doc popup,
ELPA Syncer <=
- [elpa] externals/corfu-doc 1c99932d33 57/95: Support displaying the doc frame within the parent frame, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc 6706526c0d 72/95: Require emacs 27.1, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc f9566cf13f 80/95: Version 0.6.3, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc 4119d58e8e 76/95: Rename calculating doc popup position function, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc a0508b031e 85/95: Inline the function to scroll the doc popup, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc 0c5bd800f6 71/95: Fix frame flicker When display the doc immediately, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc 7f7e251173 92/95: Fix #19: display a warning when child frames unavailable, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc cfca07f581 81/95: Require corfu 0.25, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc 48f629a0c2 87/95: Add new option to choose the method to transition the doc popup, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc b5477fd110 90/95: Version 0.7, ELPA Syncer, 2022/07/19