From 599890e44221c8d5486ddb1b274d77ebe7de1835 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Sun, 9 Jun 2024 02:58:19 +0300 Subject: [PATCH] read-process-output-max: Increase the default value * src/process.c (read-process-output-max): Increase the default value to 65536 (bug#66020). (cherry picked from commit d4bbffe83d85662f3c168870df6916187f654088) --- etc/NEWS | 2 +- src/process.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 86c480f348f..0fc8956fd23 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -492,7 +492,7 @@ This function lets the user execute multiple SQL statements in one go. It is useful, for example, when a Lisp program needs to evaluate an entire SQL file. -+++ +** The default value of 'read-process-output-max' was increased to 65536. * Editing Changes in Emacs 30.1 diff --git a/src/process.c b/src/process.c index fd09bb98c60..fe4dcc531c2 100644 --- a/src/process.c +++ b/src/process.c @@ -8877,7 +8877,7 @@ amounts of data in one go. On GNU/Linux systems, the value should not exceed /proc/sys/fs/pipe-max-size. See pipe(7) manpage for details. */); - read_process_output_max = 4096; + read_process_output_max = 65536; DEFVAR_BOOL ("read-process-output-fast", read_process_output_fast, doc: /* Non-nil to optimize the insertion of process output. -- 2.39.2