From: Stefan Kangas Date: Wed, 10 Jul 2019 01:45:15 +0000 (+0200) Subject: Fix warnings in todo-mode-tests.el (Bug#36569) X-Git-Tag: emacs-27.0.90~2021 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c198ecda9f51c3bc35d9709d0dc2c4b87ec4ee6e;p=emacs.git 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. --- 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."