]> git.eshelyaron.com Git - emacs.git/commitdiff
* eglot.el (eglot--make-process): use 'utf-8-emacs-unix
authorJoão Távora <joaotavora@gmail.com>
Wed, 6 Jun 2018 10:09:43 +0000 (11:09 +0100)
committerJoão Távora <joaotavora@gmail.com>
Wed, 6 Jun 2018 10:09:43 +0000 (11:09 +0100)
Attempt to improve the situation reported in https://github.com/joaotavora/eglot/issues/14.

lisp/progmodes/eglot.el

index 950cf6ada892a3248d3127f7f9b66cfaea202a5d..5ede7910356023b221185f8c1564f31adc8a2940 100644 (file)
@@ -258,7 +258,7 @@ CONTACT is in `eglot'.  Returns a process object."
                  (apply #'open-network-stream name stdout contact))
                 (t (make-process
                     :name name :command contact :buffer stdout
-                    :coding 'no-conversion :connection-type 'pipe
+                    :coding 'utf-8-emacs-unix :connection-type 'pipe
                     :stderr (setq stderr (format "*%s stderr*" name)))))))
     (process-put proc 'eglot-stderr stderr)
     (set-process-buffer proc (get-buffer-create stdout))