]> git.eshelyaron.com Git - emacs.git/commit
read_and_insert_process_output: Insert before markers
authorDmitry Gutov <dmitry@gutov.dev>
Tue, 11 Jun 2024 18:02:57 +0000 (21:02 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 12 Jun 2024 09:29:01 +0000 (11:29 +0200)
commitdc9c9d3143aff3399ede1ce4acf166d18a31e1ec
treef508fae5943042ac295091feeefe06632649c34b
parent867acd3326a595c8e68623e9514411a76f2913dd
read_and_insert_process_output: Insert before markers

* src/insdel.c (adjust_markers_for_insert): Make non-static.

* src/lisp.h: Add declaration for it.

* src/process.c (read_and_insert_process_output): Use it here.
And also call insert_1_both with BEFORE_MARKERS=t, for
compatibility with internal-default-process-filter (bug#66020).

(cherry picked from commit 3199b8584e4583a4b74263f5704a21c3431658c2)
src/insdel.c
src/lisp.h
src/process.c