[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/orderless 0efa87672d 011/204: Fix bug on no matches
From: |
ELPA Syncer |
Subject: |
[elpa] externals/orderless 0efa87672d 011/204: Fix bug on no matches |
Date: |
Tue, 11 Jan 2022 12:58:13 -0500 (EST) |
branch: externals/orderless
commit 0efa87672de2bd11b27fa4dc286163c42a9ce402
Author: Omar Antolín <omar.antolin@gmail.com>
Commit: Omar Antolín <omar.antolin@gmail.com>
Fix bug on no matches
---
orderless.el | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/orderless.el b/orderless.el
index a23a9970d5..22ac79927e 100644
--- a/orderless.el
+++ b/orderless.el
@@ -53,12 +53,13 @@
(when minibuffer-completing-file-name
(setq all (completion-pcm--filename-try-filter all)))
(condition-case nil
- (nconc
- (cl-loop for candidate in all
- when (cl-loop for regexp in regexps
- always (string-match-p regexp candidate))
- collect candidate)
- (length prefix))
+ (progn
+ (setq all
+ (cl-loop for candidate in all
+ when (cl-loop for regexp in regexps
+ always (string-match-p regexp
candidate))
+ collect candidate))
+ (when all (nconc all (length prefix))))
(invalid-regexp nil))))
(defun orderless-try-completion (string table pred point &optional _metadata)
- [elpa] externals/orderless 3b2741737b 042/204: Fix regression bug on no matches, (continued)
- [elpa] externals/orderless 3b2741737b 042/204: Fix regression bug on no matches, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless ba93f3e521 055/204: Typo in README pointed out by codecoll, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless c23a9a40be 050/204: Typo in README, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 40d46ba925 080/204: Fix typo, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless a3471e47aa 083/204: Explain company integration (+ misc formatting improvements), ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 7e57a5458c 085/204: Allow dispatcher to modify component without handling it, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 7a547b5722 093/204: Drew says "progressive completion", ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 99e90bf139 103/204: Declare orderless-old-component-separator obsolete too, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 42bca066b9 108/204: Split dispatchers into their own variable, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 81248a8dbf 109/204: Merge branch 'dispatcher', ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 0efa87672d 011/204: Fix bug on no matches,
ELPA Syncer <=
- [elpa] externals/orderless acc2645cf3 030/204: Even better match faces (kindly contributed by Protesilaos), ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 6ada0ad21c 035/204: Add docstrings to functions, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless a371c26c69 003/204: Stronger wording for warning, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless d576dc9fac 028/204: Add reminder that match faces only are used if orderless "wins", ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 6aabc83f02 022/204: Remove warning and stuff about SPC, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 1ad6bd254b 021/204: Only copy and highlight once the candidate is known to match, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless f2af44bf2e 057/204: Mention Icicles's progressive matching, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 1631eb1733 073/204: Fix autoload for ivy, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 862eed345c 075/204: Add more orderless initialism styles, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless e3644defcd 088/204: Add orderless-pattern-compiler variable for maximum flexibility, ELPA Syncer, 2022/01/11