unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: 36569@debbugs.gnu.org
Subject: bug#36569: [PATCH] Fix warnings in todo-mode-tests.el
Date: Wed, 10 Jul 2019 06:12:16 +0200	[thread overview]
Message-ID: <CADwFkmmW53uLnV1L6TCPiU0Xa8yiY7F0AmBLzp5+P9j+tgAxcw@mail.gmail.com> (raw)
In-Reply-To: <CADwFkmnr6XoEfqoqQ=EvKjtSJ1iwsYSDDp1W8WtnwPyf-dH2FQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 166 bytes --]

Stefan Kangas <stefan@marxist.se> writes:
> (I'll send the patch in a separate message once this is assigned a bug
> number.)

Patch attached.

Thanks,
Stefan Kangas

[-- Attachment #2: 0001-Fix-warnings-in-todo-mode-tests.el-Bug-36569.patch --]
[-- Type: application/octet-stream, Size: 1104 bytes --]

From a4ff7cf88379ddd7fdb962d261aceffdb5ed8089 Mon Sep 17 00:00:00 2001
From: Stefan Kangas <stefankangas@gmail.com>
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 7d4f7a7768..7d9425e2f5 100644
--- a/test/lisp/calendar/todo-mode-tests.el
+++ b/test/lisp/calendar/todo-mode-tests.el
@@ -572,7 +572,7 @@ todo-test--insert-item
              (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.21.0


  reply	other threads:[~2019-07-10  4:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-10  4:07 bug#36569: [PATCH] Fix warnings in todo-mode-tests.el Stefan Kangas
2019-07-10  4:12 ` Stefan Kangas [this message]
2019-07-10 10:29   ` Basil L. Contovounesios

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADwFkmmW53uLnV1L6TCPiU0Xa8yiY7F0AmBLzp5+P9j+tgAxcw@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=36569@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).