mirror of
https://github.com/vale981/apheleia
synced 2025-03-05 17:41:41 -05:00
Merge pull request #5 from akirak/coding-system
Set the process coding system based on buffer-file-coding-system
This commit is contained in:
commit
d441280235
1 changed files with 3 additions and 0 deletions
|
@ -289,6 +289,9 @@ provided that its exit status is 0."
|
||||||
(process-exit-status proc)
|
(process-exit-status proc)
|
||||||
stderr))))))
|
stderr))))))
|
||||||
(set-process-sentinel (get-buffer-process stderr) #'ignore)
|
(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
|
(when stdin
|
||||||
(process-send-string
|
(process-send-string
|
||||||
apheleia--current-process
|
apheleia--current-process
|
||||||
|
|
Loading…
Add table
Reference in a new issue