diff options
| -rw-r--r-- | lisp/emacs-lisp/ert.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el index be9f013ebcf..cd4b9c5a2b3 100644 --- a/lisp/emacs-lisp/ert.el +++ b/lisp/emacs-lisp/ert.el | |||
| @@ -1540,7 +1540,9 @@ the tests)." | |||
| 1540 | (or noninteractive | 1540 | (or noninteractive |
| 1541 | (user-error "This function is only for use in batch mode")) | 1541 | (user-error "This function is only for use in batch mode")) |
| 1542 | (let ((eln-dir (and (featurep 'native-compile) | 1542 | (let ((eln-dir (and (featurep 'native-compile) |
| 1543 | (make-temp-file "test-nativecomp-cache-" t)))) | 1543 | (make-temp-file "test-nativecomp-cache-" t))) |
| 1544 | ;; Don't ever wait for user input. | ||
| 1545 | (inhibit-interaction t)) | ||
| 1544 | (when eln-dir | 1546 | (when eln-dir |
| 1545 | (startup-redirect-eln-cache eln-dir)) | 1547 | (startup-redirect-eln-cache eln-dir)) |
| 1546 | ;; Better crash loudly than attempting to recover from undefined | 1548 | ;; Better crash loudly than attempting to recover from undefined |