[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu-doc 7926ff406c 47/95: Avoid using map-merge
From: |
ELPA Syncer |
Subject: |
[elpa] externals/corfu-doc 7926ff406c 47/95: Avoid using map-merge |
Date: |
Tue, 19 Jul 2022 15:58:03 -0400 (EDT) |
branch: externals/corfu-doc
commit 7926ff406c0d40fc51f664ebc4c6380a0f117c52
Author: Yuwei Tian <ibluefocus@outlook.com>
Commit: Yuwei Tian <ibluefocus@outlook.com>
Avoid using map-merge
See Emacs bug#46722
---
corfu-doc.el | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/corfu-doc.el b/corfu-doc.el
index 8d53eef4c3..72ab852ae4 100644
--- a/corfu-doc.el
+++ b/corfu-doc.el
@@ -35,7 +35,6 @@
(eval-when-compile
(require 'cl-lib)
(require 'subr-x))
-(require 'map)
(require 'corfu)
(defgroup corfu-doc nil
@@ -90,11 +89,11 @@ If this is nil, do not resize corfu doc frame
automatically."
(defvar corfu-doc--frame-parameters
(let* ((cw (default-font-width))
(lm (* cw corfu-left-margin-width))
- (rm (* cw corfu-right-margin-width)))
- (map-merge 'alist
- corfu--frame-parameters
- `((left-fringe . ,(ceiling lm))
- (right-fringe . ,(ceiling rm)))))
+ (rm (* cw corfu-right-margin-width))
+ (fp (copy-alist corfu--frame-parameters)))
+ (setf (alist-get 'left-fringe fp) (ceiling lm)
+ (alist-get 'right-fringe fp) (ceiling rm))
+ fp)
"Default doc child frame parameters.")
(defvar corfu-doc--window nil
- [elpa] externals/corfu-doc 98398c61fa 15/95: Fix wrong argument type error when calling frame-visible-p, (continued)
- [elpa] externals/corfu-doc 98398c61fa 15/95: Fix wrong argument type error when calling frame-visible-p, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc e18aea61e7 10/95: Version 0.0.3, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc 98509cbe29 44/95: Decrease auto delay to 0.1, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc 0741012875 26/95: Fix typo in comment, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc 8c30a44d67 41/95: Fix #7: change the behavior of the corfu-doc-toggle command, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc f83307a233 09/95: Update doc frame when corfu frame coordinates changed, ELPA Syncer, 2022/07/19
- [elpa] externals/corfu-doc 488da67753 13/95: Revert previous commit, ELPA Syncer, 2022/07/19
- [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 <=
- [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, 2022/07/19
- [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