aboutsummaryrefslogtreecommitdiff
path: root/apheleia.el
diff options
context:
space:
mode:
Diffstat (limited to 'apheleia.el')
-rw-r--r--apheleia.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/apheleia.el b/apheleia.el
index 8b189c8..2a6eed2 100644
--- a/apheleia.el
+++ b/apheleia.el
@@ -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