[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu ef61a134fc 10/12: Remove corfu-docframe--window
From: |
ELPA Syncer |
Subject: |
[elpa] externals/corfu ef61a134fc 10/12: Remove corfu-docframe--window |
Date: |
Thu, 17 Nov 2022 16:57:29 -0500 (EST) |
branch: externals/corfu
commit ef61a134fcb9c508d0d9b9087771f6e0e703f0c2
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Remove corfu-docframe--window
---
extensions/corfu-docframe.el | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/extensions/corfu-docframe.el b/extensions/corfu-docframe.el
index 91f6c545c3..7fdf19e082 100644
--- a/extensions/corfu-docframe.el
+++ b/extensions/corfu-docframe.el
@@ -106,16 +106,12 @@ relative to LEFT and TOP which are both zero.
See `frame-edges' for details.")
-(defvar corfu-docframe--window nil
- "Window where the corfu popup is located.")
-
(defvar-local corfu-docframe--direction nil
"Position direction of the doc popup relative to the corfu popup.")
(defconst corfu-docframe--state-vars
'(corfu-docframe--candidate
corfu-docframe--popup-edges
- corfu-docframe--window
corfu-docframe--direction)
"Buffer-local state variables used by corfu-docframe.")
@@ -385,8 +381,7 @@ it should be compared with the value recorded by
`corfu--index'."
(if doc-updated-p
(setq corfu-docframe--candidate candidate
corfu-docframe--popup-edges
- (frame-edges corfu--frame 'inner-edges)
- corfu-docframe--window (selected-window))
+ (frame-edges corfu--frame 'inner-edges))
(when cfp-edges-changed-p
(setq corfu-docframe--popup-edges
(frame-edges corfu--frame 'inner-edges))))))))
@@ -467,7 +462,6 @@ corfu doc mode is turned on and `corfu-docframe-auto' is
set to Non-nil."
(cancel-timer corfu-docframe--auto-timer)
(setq corfu-docframe--auto-timer nil))
(if (and (equal candidate corfu-docframe--candidate)
- (eq (selected-window) corfu-docframe--window)
(frame-live-p corfu-docframe--frame))
(corfu-docframe--show candidate)
(corfu-docframe--transition)
@@ -506,7 +500,6 @@ To display the doc popup for the preselected completion
candidate."
(unless
(and completion-in-region-mode
(equal candidate corfu-docframe--candidate)
- (eq (selected-window) corfu-docframe--window)
(frame-live-p corfu-docframe--frame))
(remove-hook 'post-command-hook sym 'local)
(with-current-buffer (if (buffer-live-p buf)
- [elpa] externals/corfu 14f8bf0d67 03/12: Formatting, (continued)
- [elpa] externals/corfu 14f8bf0d67 03/12: Formatting, ELPA Syncer, 2022/11/17
- [elpa] externals/corfu 6ed968768e 06/12: Use equal, ELPA Syncer, 2022/11/17
- [elpa] externals/corfu fdb961cdca 05/12: Check frame-live, ELPA Syncer, 2022/11/17
- [elpa] externals/corfu bfd17fdf88 04/12: Shorten some names, ELPA Syncer, 2022/11/17
- [elpa] externals/corfu 83a3511d86 07/12: corfu-docframe: Add note about experimental status, ELPA Syncer, 2022/11/17
- [elpa] externals/corfu 257d9d5194 01/12: Revert "Rename corfu-info to corfu-doc-buffer", ELPA Syncer, 2022/11/17
- [elpa] externals/corfu 4a9e52e0e2 08/12: Shorten name of customizable, ELPA Syncer, 2022/11/17
- [elpa] externals/corfu 6e2d43b3b3 11/12: Shorter variable name, ELPA Syncer, 2022/11/17
- [elpa] externals/corfu 3cc4272cf6 12/12: Simplify corfu-docframe, ELPA Syncer, 2022/11/17
- [elpa] externals/corfu 31f2835706 02/12: Shorten the name of the corfu-docframe extension, ELPA Syncer, 2022/11/17
- [elpa] externals/corfu ef61a134fc 10/12: Remove corfu-docframe--window,
ELPA Syncer <=
- [elpa] externals/corfu 1fff64a5d3 09/12: corfu-docframe indentation, ELPA Syncer, 2022/11/17