Use extract_time in test module.
* test/data/emacs-module/mod-test.c (Fmod_test_sleep_until): Use extract_time for time argument. (signal_wrong_type_argument): Remove unused function. * test/src/emacs-module-tests.el (mod-test-sleep-until): Remove unnecessary ‘float-time’.
This commit is contained in:
@@ -313,7 +313,7 @@ Interactively, you can try hitting \\[keyboard-quit] to quit."
|
||||
;; Interactively, run for 5 seconds to give the
|
||||
;; user time to quit. In batch mode, run only
|
||||
;; briefly since the user can't quit.
|
||||
(float-time (time-add nil (if noninteractive 0.1 5)))
|
||||
(time-add nil (if noninteractive 0.1 5))
|
||||
;; should_quit or process_input
|
||||
arg))
|
||||
'finished))
|
||||
|
||||
Reference in New Issue
Block a user