projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f42ff3
)
Fix todo-mode AOT test failures (bug#51308)
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 21 Oct 2021 04:26:30 +0000
(06:26 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 21 Oct 2021 04:26:30 +0000
(06:26 +0200)
test/lisp/calendar/todo-mode-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/calendar/todo-mode-tests.el
b/test/lisp/calendar/todo-mode-tests.el
index 0538368fc8291390291598e7e193c3ccacc97973..9b5d990b9bd6cab90bcb07d25cbb8e488cd3681a 100644
(file)
--- 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)))