From f0201bf6c71d4dd276688b4172b85b4e46f91486 Mon Sep 17 00:00:00 2001
From: Philipp Stephani
Date: Thu, 27 Aug 2026 11:59:45 +0200
Subject: [PATCH] Use built-in send-string-to-terminal instead of custom
function
---
elisp/private/tools/gen-proto.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elisp/private/tools/gen-proto.el b/elisp/private/tools/gen-proto.el
index 04e7ee67e..9094e5be5 100644
--- a/elisp/private/tools/gen-proto.el
+++ b/elisp/private/tools/gen-proto.el
@@ -177,7 +177,7 @@ enumeration type, and VALUES is a list of (NAME NUMBER) pairs."
(request (elisp/proto/parse-code-generator-request stdin))
(response (mapcar #'@generate-file request))
(stdout (elisp/proto/serialize-code-generator-response response)))
- (elisp/proto/write-stdout stdout))
+ (send-string-to-terminal stdout))
;; Page delimiter so that Emacs doesn’t get confused by the strings above. See
;; Info node ‘(emacs) Specifying File Variables’.