diff --git a/elisp/private/tools/compile.el b/elisp/private/tools/compile.el index 1e89f4f3..4f959313 100644 --- a/elisp/private/tools/compile.el +++ b/elisp/private/tools/compile.el @@ -1,6 +1,6 @@ ;;; compile.el --- byte-compile Emacs Lisp files -*- lexical-binding: t; -*- -;; Copyright 2020-2025 Google LLC +;; Copyright 2020-2026 Google LLC ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. @@ -36,7 +36,8 @@ ;; Leaving these enabled leads to undefined behavior and doesn’t make sense in ;; batch mode. (setq attempt-stack-overflow-recovery nil - attempt-orderly-shutdown-on-fatal-signal nil) + attempt-orderly-shutdown-on-fatal-signal nil + inhibit-interaction t) ;; Ensure filenames in the output are relative to the current directory. (setq byte-compile-root-dir diff --git a/elisp/private/tools/export-org.el b/elisp/private/tools/export-org.el index c8042ccd..18f2f7e1 100644 --- a/elisp/private/tools/export-org.el +++ b/elisp/private/tools/export-org.el @@ -1,6 +1,6 @@ ;;; export-org.el --- export Org-mode file to Texinfo manual -*- lexical-binding: t; -*- -;; Copyright 2021-2025 Google LLC +;; Copyright 2021-2026 Google LLC ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. @@ -45,6 +45,7 @@ (after-insert-file-functions nil) (write-region-annotate-functions nil) (write-region-post-annotation-function nil) + (inhibit-interaction t) (org-export-coding-system 'utf-8-unix) (org-export-time-stamp-file nil) (org-export-use-babel nil)) diff --git a/elisp/private/tools/gen-proto.el b/elisp/private/tools/gen-proto.el index 81dc9b7e..d2438a7d 100644 --- a/elisp/private/tools/gen-proto.el +++ b/elisp/private/tools/gen-proto.el @@ -170,6 +170,7 @@ enumeration type, and VALUES is a list of (NAME NUMBER) pairs." (set-binary-mode 'stdin :binary) (set-binary-mode 'stdout :binary) (let* ((standard-output #'external-debugging-output) + (inhibit-interaction t) (inhibit-modification-hooks t) (stdin (with-temp-buffer (set-buffer-multibyte nil) diff --git a/elisp/private/tools/run-tst.el b/elisp/private/tools/run-tst.el index 863b9441..0ec39b4c 100644 --- a/elisp/private/tools/run-tst.el +++ b/elisp/private/tools/run-tst.el @@ -944,6 +944,7 @@ exact copies as equal." (setq attempt-stack-overflow-recovery nil attempt-orderly-shutdown-on-fatal-signal nil + inhibit-interaction t edebug-initial-mode 'Go-nonstop) ; ‘step’ doesn’t work in batch mode ;; We perform our own coverage instrumentation. diff --git a/tests/proto/integration/cat.el b/tests/proto/integration/cat.el index da5517e4..32221ee8 100644 --- a/tests/proto/integration/cat.el +++ b/tests/proto/integration/cat.el @@ -33,6 +33,7 @@ (let ((file-name-handler-alist ()) (coding-system-for-read 'no-conversion) (coding-system-for-write 'no-conversion) + (inhibit-interaction t) (inhibit-modification-hooks t) (write-region-annotate-functions nil) (write-region-post-annotation-function nil))