[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu 6ed968768e 06/12: Use equal
From: |
ELPA Syncer |
Subject: |
[elpa] externals/corfu 6ed968768e 06/12: Use equal |
Date: |
Thu, 17 Nov 2022 16:57:29 -0500 (EST) |
branch: externals/corfu
commit 6ed968768e088fec13268f989b2845631d5b6fb3
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Use equal
---
extensions/corfu-docframe.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/extensions/corfu-docframe.el b/extensions/corfu-docframe.el
index d9193cd3d2..163505f686 100644
--- a/extensions/corfu-docframe.el
+++ b/extensions/corfu-docframe.el
@@ -333,7 +333,7 @@ it should be compared with the value recorded by
`corfu--index'."
(if (not candidate)
(corfu-docframe--hide)
(let ((should-update-doc-p
- (not (string= candidate corfu-docframe--candidate)))
+ (not (equal candidate corfu-docframe--candidate)))
doc-updated-p
;; check if the coordinates of the corfu popup have changed
(cfp-edges-changed-p
@@ -463,7 +463,7 @@ corfu doc mode is turned on and `corfu-docframe-auto' is
set to Non-nil."
(when corfu-docframe--auto-timer
(cancel-timer corfu-docframe--auto-timer)
(setq corfu-docframe--auto-timer nil))
- (if (and (string= candidate corfu-docframe--candidate)
+ (if (and (equal candidate corfu-docframe--candidate)
(eq (selected-window) corfu-docframe--window)
(frame-live-p corfu-docframe--frame))
(corfu-docframe--show candidate)
@@ -502,7 +502,7 @@ To display the doc popup for the preselected completion
candidate."
(nth corfu--index corfu--candidates))))
(unless
(and completion-in-region-mode
- (string= candidate corfu-docframe--candidate)
+ (equal candidate corfu-docframe--candidate)
(eq (selected-window) corfu-docframe--window)
(frame-live-p corfu-docframe--frame))
(remove-hook 'post-command-hook sym 'local)
- [elpa] externals/corfu updated (c8d19813cb -> 3cc4272cf6), ELPA Syncer, 2022/11/17
- [elpa] externals/corfu 14f8bf0d67 03/12: Formatting, ELPA Syncer, 2022/11/17
- [elpa] externals/corfu 6ed968768e 06/12: Use equal,
ELPA Syncer <=
- [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, 2022/11/17
- [elpa] externals/corfu 1fff64a5d3 09/12: corfu-docframe indentation, ELPA Syncer, 2022/11/17