aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Komamura <akira.komamura@gmail.com>2019-08-15 20:02:28 +0900
committerAkira Komamura <akira.komamura@gmail.com>2019-08-15 20:02:28 +0900
commit1d76c121bace7f6255d001ef1ac687f6919e1e07 (patch)
tree65609478d81edb22b0dbf0f9198615e0e889ecce
parent4e9f797210bd0e3777bf4f973ce137c43b1506fb (diff)
Set the process coding system
-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