diff options
| author | Pierre Téchoueyres | 2018-10-14 17:49:12 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2018-10-27 12:36:00 +0300 |
| commit | 106b9e138fff3a68cbfa09422441af74cdd0355a (patch) | |
| tree | 1c2bac3090c06e574e002394b0d4faad3a38aa9d | |
| parent | 2a416161b2dd33018a01511ac475e8ede4555ed8 (diff) | |
| download | emacs-106b9e138fff3a68cbfa09422441af74cdd0355a.tar.gz emacs-106b9e138fff3a68cbfa09422441af74cdd0355a.zip | |
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)
| -rw-r--r-- | lisp/epg.el | 2 |
1 files changed, 1 insertions, 1 deletions
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)." | |||
| 657 | :command (cons (epg-context-program context) | 657 | :command (cons (epg-context-program context) |
| 658 | args) | 658 | args) |
| 659 | :connection-type 'pipe | 659 | :connection-type 'pipe |
| 660 | :coding '(binary . binary) | 660 | :coding 'raw-text |
| 661 | :filter #'epg--process-filter | 661 | :filter #'epg--process-filter |
| 662 | :stderr error-process | 662 | :stderr error-process |
| 663 | :noquery t))) | 663 | :noquery t))) |