]> git.eshelyaron.com Git - emacs.git/commit
fast-read-process-output: Make safer
authorDmitry Gutov <dmitry@gutov.dev>
Tue, 11 Jun 2024 02:54:57 +0000 (05:54 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 12 Jun 2024 09:27:55 +0000 (11:27 +0200)
commit8ccad4327e0305d3a27119307ddf76af3419708d
treed93589bdf5d79b1fa975eb61c72f8c63d04ea2c4
parentcabe49e232c098be3e44a00465ec0088f163aba9
fast-read-process-output: Make safer

* src/process.c (read_process_output): Move the call to
'read_and_insert_process_output' from here.
(read_and_dispose_of_process_output): To here (bug#66020).  So
that any Lisp code invoked through modification hook from the
former function also benefit from safety guards like
running_asynch_code, saved match data, inhibit_quot, etc.

(cherry picked from commit bac8a70f454d022d8352200d85eacd27017d4f12)
src/process.c