From c198ecda9f51c3bc35d9709d0dc2c4b87ec4ee6e Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 10 Jul 2019 03:45:15 +0200 Subject: [PATCH] Fix warnings in todo-mode-tests.el (Bug#36569) * test/lisp/calendar/todo-mode-tests.el (todo-test--insert-item): Fix "Unused lexical argument" warnings. --- test/lisp/calendar/todo-mode-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lisp/calendar/todo-mode-tests.el b/test/lisp/calendar/todo-mode-tests.el index 7d4f7a77683..7d9425e2f58 100644 --- a/test/lisp/calendar/todo-mode-tests.el +++ b/test/lisp/calendar/todo-mode-tests.el @@ -572,7 +572,7 @@ for todo-insert-item for use in automatic testing." (lambda (_prompt) item)) ((symbol-function 'read-number) ; For todo-set-item-priority (lambda (_prompt &optional _default) (or priority 1)))) - (todo-insert-item--basic))) + (todo-insert-item--basic nil diary-type date-type time where))) (ert-deftest todo-test-toggle-item-header07 () ; bug#27609 "Test display of hidden item header under todo-insert-item." -- 2.39.5