]> git.eshelyaron.com Git - emacs.git/commitdiff
Unify prompt for gnupg passphrase between GNU/Linux and MS-Windows.
authorPierre Téchoueyres <pierre.techoueyres@free.fr>
Sun, 14 Oct 2018 15:49:12 +0000 (17:49 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 27 Oct 2018 09:36:00 +0000 (12:36 +0300)
* 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

index dc0e2df58386f3176fb9eccfc5dc5b585756b1c8..87b51b284ea2f1c2d903dcfc8bd97f4138d59eca 100644 (file)
@@ -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)))