[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/bash-completion 43348d0be1 143/313: Bugfixes: remove refer
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/bash-completion 43348d0be1 143/313: Bugfixes: remove references to nonexistent variables, such as |
Date: |
Sat, 3 Dec 2022 10:59:25 -0500 (EST) |
branch: elpa/bash-completion
commit 43348d0be1ec8608ea43b40fc010b13b30500d36
Author: Stephane Zermatten <szermatt@gmx.net>
Commit: Stephane Zermatten <szermatt@gmx.net>
Bugfixes: remove references to nonexistent variables, such as
bash-completion-open-quote, now that the mapcar hack to call
bash-completion-fix is gone. Also a small fix for the test.
---
bash-completion-test.el | 8 +-------
bash-completion.el | 9 ++-------
2 files changed, 3 insertions(+), 14 deletions(-)
diff --git a/bash-completion-test.el b/bash-completion-test.el
index a602cc08e6..7475c2d920 100644
--- a/bash-completion-test.el
+++ b/bash-completion-test.el
@@ -417,12 +417,6 @@ garbage
(should (equal nil (bash-completion-starts-with "hello world" "hullo ")))
(should (equal t (bash-completion-starts-with "hello" ""))))
-(ert-deftest bash-completion-ends-with-test ()
- (should (equal nil (bash-completion-ends-with "" "world")))
- (should (equal t (bash-completion-ends-with "hello world" "world")))
- (should (equal nil (bash-completion-ends-with "hello world" "wurld")))
- (should (equal t (bash-completion-ends-with "hello" ""))))
-
(ert-deftest bash-completion-last-wordbreak-test ()
(should (equal '("a:b:c:d:" "e" ?:)
(bash-completion-last-wordbreak-split "a:b:c:d:e")))
@@ -490,7 +484,7 @@ garbage
;; append / for home
(should (equal "~/"
(bash-completion-fix (expand-file-name "~")
- "~" "~" nil 'default)))
+ "~" "~" nil 'default nil)))
(cl-letf (((symbol-function 'file-accessible-directory-p)
(lambda (d)
diff --git a/bash-completion.el b/bash-completion.el
index d032e4dd57..2e0b470549 100644
--- a/bash-completion.el
+++ b/bash-completion.el
@@ -746,9 +746,7 @@ PARSED-PREFIX is replaced with UNPARSED-PREFIX in set fixed
set
of candidates.
OPEN-QUOTE should be the quote that's still open in prefix. A
-character (' or \") or nil. If it is nil, the value of
-`bash-completion-open-quote' is used. This allows
-calling this function from `mapcar'.
+character (' or \") or nil.
COMPLETION-TYPE describes the type of completion that was executed,
as generated by `bash-completion-generate-line'. It is used to choose
@@ -766,10 +764,7 @@ Modification include:
It should be invoked with the comint buffer as the current buffer
for directory name detection to work."
- (let ((parsed-prefix (or parsed-prefix bash-completion-parsed-prefix))
- (unparsed-prefix (or unparsed-prefix bash-completion-unparsed-prefix))
- (open-quote (or open-quote (and bash-completion-open-quote)))
- (suffix "")
+ (let ((suffix "")
(rest) ; the part between the prefix and the suffix
(rebuilt))
- [nongnu] elpa/bash-completion b4fc1a73cb 092/313: removed unnecessary elisp directory, (continued)
- [nongnu] elpa/bash-completion b4fc1a73cb 092/313: removed unnecessary elisp directory, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 3f86d75644 064/313: Trim strange results that are a subset of the current value, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 7f4bcd03a8 110/313: Avoid cluttering .bash_history with commands from, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion c8ddd11ec3 113/313: Fix tests after "Make bash-completion.el work, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion d2745d8923 114/313: Extended history, added a pointer to github, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 6413d662ba 116/313: Rewrote the tests using ert instead of regress., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion d65f7e018d 118/313: Skip integration tests if /bin/bash is not executable., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion ec557d8949 123/313: shell-command.el is unnecessary, and has probably been so for years..., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 318e32979f 135/313: Display completion progress message only if completion takes too long., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 2378b04eeb 140/313: More easily call bash-completion-dynamic-complete-nocomint, faking bash, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 43348d0be1 143/313: Bugfixes: remove references to nonexistent variables, such as,
ELPA Syncer <=
- [nongnu] elpa/bash-completion 583d1dde61 151/313: Remove usage of seq-position with a custom implementation., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 664452aca2 157/313: Merge pull request #22 from kfogel/21-fix-completion-re-21149fdc, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion ad8d72c626 162/313: README nit pick ; ), ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion c494a89070 168/313: Run tests under Emacs 24.1: alias letf to cl-letf., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion f523a290a6 169/313: Make the integration tests run on Emacs 24.1., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion bbff4fa527 172/313: Merge branch 'master' of github.com:szermatt/emacs-bash-completion, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion b307dc24c3 005/313: keep cword, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion a79137cc86 004/313: escaped quotes, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 581864111e 039/313: integration test harness, process buffer cleanup, hidden buffer, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 3e1481741c 031/313: remove messages, ELPA Syncer, 2022/12/03