]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix warnings in todo-mode-tests.el (Bug#36569)
authorStefan Kangas <stefankangas@gmail.com>
Wed, 10 Jul 2019 01:45:15 +0000 (03:45 +0200)
committerBasil L. Contovounesios <contovob@tcd.ie>
Wed, 10 Jul 2019 10:26:18 +0000 (11:26 +0100)
* test/lisp/calendar/todo-mode-tests.el (todo-test--insert-item):
Fix "Unused lexical argument" warnings.

test/lisp/calendar/todo-mode-tests.el

index 7d4f7a7768349fd7cf5f2320c4a9c1a00ba2a634..7d9425e2f58f1043fe7b51a3d4d14770e5227db4 100644 (file)
@@ -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."