From 106b9e138fff3a68cbfa09422441af74cdd0355a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20T=C3=A9choueyres?= Date: Sun, 14 Oct 2018 17:49:12 +0200 Subject: Unify prompt for gnupg passphrase between GNU/Linux and MS-Windows. * lisp/epg.el (epg--start): Use 'raw-text' for coding system instead of 'binary', in order to avoid spurious carriage return on Microsoft Windows and MS-DOS when prompting for a password. (Bug#33040) --- lisp/epg.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/epg.el b/lisp/epg.el index dc0e2df5838..87b51b284ea 100644 --- a/lisp/epg.el +++ b/lisp/epg.el @@ -657,7 +657,7 @@ callback data (if any)." :command (cons (epg-context-program context) args) :connection-type 'pipe - :coding '(binary . binary) + :coding 'raw-text :filter #'epg--process-filter :stderr error-process :noquery t))) -- cgit v1.2.1