Set the process coding system

This commit is contained in:
Akira Komamura 2019-08-15 20:02:28 +09:00
parent 4e9f797210
commit 1d76c121ba

View file

@ -289,6 +289,9 @@ provided that its exit status is 0."
(process-exit-status proc)
stderr))))))
(set-process-sentinel (get-buffer-process stderr) #'ignore)
(set-process-coding-system apheleia--current-process
nil
(buffer-local-value 'buffer-file-coding-system stdin))
(when stdin
(process-send-string
apheleia--current-process