[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/bash-completion c5eaeed156 311/313: Always ensure that a c
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/bash-completion c5eaeed156 311/313: Always ensure that a copy of the candidate list is returned (#48) |
Date: |
Sat, 3 Dec 2022 10:59:40 -0500 (EST) |
branch: elpa/bash-completion
commit c5eaeed156ab906190c662d491269230967104b1
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: GitHub <noreply@github.com>
Always ensure that a copy of the candidate list is returned (#48)
The caller of the completion table is allowed to mutate the list in place.
---
bash-completion.el | 7 -------
1 file changed, 7 deletions(-)
diff --git a/bash-completion.el b/bash-completion.el
index 47b729c6d1..554ef56c78 100644
--- a/bash-completion.el
+++ b/bash-completion.el
@@ -1702,13 +1702,6 @@ using the current Emacs completion style."
(bash-completion--unparsed-stub
comp)) "" str)))
(cond
((null action) (try-completion completion-string result
predicate))
- ((and (eq action t) (equal "" completion-string) predicate)
- (delq nil (mapcar
- (lambda (elt)
- (when (funcall predicate elt) elt))
- result)))
- ((and (eq action t) (equal "" completion-string))
- result)
((eq action t)
(all-completions completion-string result predicate))
(t (test-completion str result predicate)))))))))
- [nongnu] elpa/bash-completion d9c97b741d 309/313: Attempt to fix automated tests., (continued)
- [nongnu] elpa/bash-completion d9c97b741d 309/313: Attempt to fix automated tests., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 29b5fc860a 312/313: Shorten overly long docstring (#53), ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 3ffc296e0b 149/313: Close opened quote for all completion candidate that don't end with a, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 6bf1536325 150/313: Fix occasional escaping issue with candidates containing quotes., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 7ce100b7eb 006/313: cursor position, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 21149fdc27 152/313: Introduce the variable bash-completion-start-files, that allow, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 31bc1c1c21 161/313: Compile bash-completion.el before running tests., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 054ecdfce3 290/313: ignore file ert-profile created by ert-runner, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion c444230670 154/313: Add run_tests.sh, to run tests from the command-line, with specific, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 0709a9803d 303/313: Support newlines in the output of complete -p., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion c5eaeed156 311/313: Always ensure that a copy of the candidate list is returned (#48),
ELPA Syncer <=
- [nongnu] elpa/bash-completion f6e1c44057 013/313: put everything together, ELPA Syncer, 2022/12/03