diff options
| author | Michael Albinus | 2023-08-19 10:11:32 +0200 |
|---|---|---|
| committer | Michael Albinus | 2023-08-19 10:11:32 +0200 |
| commit | cd3f163005ef9e5ad73fb8609e8199d86b9ce865 (patch) | |
| tree | 8c1153b34443c2f9ed451a833290c9b9a154aeda /test | |
| parent | aa58f6e909ae7a23658844f4be90af5d27fe7cfc (diff) | |
| download | emacs-cd3f163005ef9e5ad73fb8609e8199d86b9ce865.tar.gz emacs-cd3f163005ef9e5ad73fb8609e8199d86b9ce865.zip | |
Adapt test in minibuffer-tests.el
* test/lisp/minibuffer-tests.el (test-completion-all-sorted-completions):
Simplify function declaration.
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/minibuffer-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/minibuffer-tests.el b/test/lisp/minibuffer-tests.el index a67fc555772..ff58d35eb3e 100644 --- a/test/lisp/minibuffer-tests.el +++ b/test/lisp/minibuffer-tests.el | |||
| @@ -139,7 +139,7 @@ | |||
| 139 | (defun test-completion-all-sorted-completions (base def history-var history-list) | 139 | (defun test-completion-all-sorted-completions (base def history-var history-list) |
| 140 | (with-temp-buffer | 140 | (with-temp-buffer |
| 141 | (insert base) | 141 | (insert base) |
| 142 | (cl-letf (((symbol-function #'minibufferp) (lambda (&rest _) t))) | 142 | (cl-letf (((symbol-function #'minibufferp) #'always)) |
| 143 | (let ((completion-styles '(basic)) | 143 | (let ((completion-styles '(basic)) |
| 144 | (completion-category-defaults nil) | 144 | (completion-category-defaults nil) |
| 145 | (completion-category-overrides nil) | 145 | (completion-category-overrides nil) |