emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 805ed8d 2/2: Fix todo-mode AOT test failures (bug#51308)


From: Lars Ingebrigtsen
Subject: emacs-28 805ed8d 2/2: Fix todo-mode AOT test failures (bug#51308)
Date: Thu, 21 Oct 2021 00:31:49 -0400 (EDT)

branch: emacs-28
commit 805ed8d3188d11750b6f1612dde14f845d894679
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix todo-mode AOT test failures (bug#51308)
---
 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 0538368..9b5d990 100644
--- a/test/lisp/calendar/todo-mode-tests.el
+++ b/test/lisp/calendar/todo-mode-tests.el
@@ -567,7 +567,7 @@ The remaining arguments (except _ARG, which is ignored) 
specify
 item insertion parameters.  This provides a noninteractive API
 for todo-insert-item for use in automatic testing."
   (cl-letf (((symbol-function 'read-from-minibuffer)
-             (lambda (_prompt) item))
+             (lambda (_prompt &rest _) item))
             ((symbol-function 'read-number) ; For todo-set-item-priority
              (lambda (_prompt &optional _default) (or priority 1))))
     (todo-insert-item--basic nil diary-type date-type time where)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]