From cd3f163005ef9e5ad73fb8609e8199d86b9ce865 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sat, 19 Aug 2023 10:11:32 +0200 Subject: [PATCH] Adapt test in minibuffer-tests.el * test/lisp/minibuffer-tests.el (test-completion-all-sorted-completions): Simplify function declaration. --- test/lisp/minibuffer-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ (defun test-completion-all-sorted-completions (base def history-var history-list) (with-temp-buffer (insert base) - (cl-letf (((symbol-function #'minibufferp) (lambda (&rest _) t))) + (cl-letf (((symbol-function #'minibufferp) #'always)) (let ((completion-styles '(basic)) (completion-category-defaults nil) (completion-category-overrides nil) -- 2.39.2