[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/flx cd557fcb00 051/182: fix C-SPC
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/flx cd557fcb00 051/182: fix C-SPC |
Date: |
Tue, 13 Dec 2022 03:59:27 -0500 (EST) |
branch: elpa/flx
commit cd557fcb00adea8ee320baa26b28ee9c0e8b639f
Author: Le Wang <le.wang@agworld.com.au>
Commit: Le Wang <le.wang@agworld.com.au>
fix C-SPC
fixes #17
---
flx-ido.el | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/flx-ido.el b/flx-ido.el
index f6c428c85e..89d17a1519 100644
--- a/flx-ido.el
+++ b/flx-ido.el
@@ -13,7 +13,7 @@
;; Version: 0.2
;; Last-Updated:
;; By:
-;; Update #: 55
+;; Update #: 57
;; URL:
;; Keywords:
;; Compatibility:
@@ -141,7 +141,9 @@ item, in which case, the ending items are deleted."
(if clear
(nthcdr decorate-count things)
(mapcar 'car (nthcdr decorate-count things)))))
- (mapcar 'car things)))
+ (if clear
+ things
+ (mapcar 'car things))))
(defun flx-ido-match-internal (query items)
(let* ((matches (loop for item in items
@@ -191,6 +193,11 @@ Remove flx properties after."
(clrhash flx-ido-narrowed-matches-hash))
ad-do-it)
+(defadvice ido-restrict-to-matches (after flx-ido-reset-hash activate)
+ "Clear flx narrowed hash."
+ (when flx-ido-mode
+ (clrhash flx-ido-narrowed-matches-hash)))
+
(defadvice ido-set-matches-1 (around flx-ido-set-matches-1 activate)
"Choose between the regular ido-set-matches-1 and my-ido-fuzzy-match"
(if flx-ido-mode
- [nongnu] elpa/flx 8849b39816 066/182: Make flx-capital-p behave correctly for non-latin words, (continued)
- [nongnu] elpa/flx 8849b39816 066/182: Make flx-capital-p behave correctly for non-latin words, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx ad87db4348 068/182: Make flx-ido depend on flx on package level, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 225fae97c9 070/182: Mention Marmalade in the README, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 43f78d4815 090/182: Touch-up commentary., ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx dd428a8cc6 095/182: Add some debug statements., ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 3054a8038d 112/182: Fix typo in README.md, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx f0c3157268 114/182: Increase default flx-ido-threshold to 6000, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx f5fda2897f 125/182: enable lexical-binding, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 3cd3bf7687 129/182: add perf test-case, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 2b31df9ed0 140/182: Make dynamic programming test even more "difficult", ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx cd557fcb00 051/182: fix C-SPC,
ELPA Syncer <=
- [nongnu] elpa/flx 9e7749e9e6 067/182: Merge pull request #27 from bbatsov/fix-capital-check, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 7424f54816 079/182: flx-ido: don't require cl; flx requires it anyway, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 3bcaf03434 002/182: add readme, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx bdfd9d98aa 014/182: add travis status image, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 6189f05c7e 004/182: add flx, ido implementation and helm experiment, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 4c67675437 032/182: add GC tuning information to README, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 114cf369cb 020/182: add ido installation instructions, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 7452ab1c79 021/182: README update, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx f566207c82 015/182: travis config update, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 01eef11b96 033/182: small efficiency fix, ELPA Syncer, 2022/12/13