mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
Adapt test in minibuffer-tests.el
* test/lisp/minibuffer-tests.el (test-completion-all-sorted-completions): Simplify function declaration.
This commit is contained in:
parent
aa58f6e909
commit
cd3f163005
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user