Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions elisp/private/tools/gen-proto.el
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ enumeration type, and VALUES is a list of (NAME NUMBER) pairs."
(cons output-file
(buffer-substring-no-properties (point-min) (point-max))))))

(unless noninteractive (user-error "This file works only in batch mode"))
(set-binary-mode 'stdin :binary)
(set-binary-mode 'stdout :binary)
(let* ((standard-output #'external-debugging-output)
Expand Down
3 changes: 2 additions & 1 deletion tests/proto/integration/cat.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; cat.el --- helper binary for module test -*- lexical-binding: t; -*-

;; Copyright 2024, 2025 Philipp Stephani
;; Copyright 2024-2026 Philipp Stephani
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
Expand All @@ -24,6 +24,7 @@

(require 'elisp/proto/module)

(unless noninteractive (user-error "This file works only in batch mode"))
(set-binary-mode 'stdin :binary)
(set-binary-mode 'stdout :binary)

Expand Down
Loading