diff options
| author | Eli Zaretskii | 2024-06-29 15:53:11 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2024-06-29 15:53:11 +0300 |
| commit | 179800f36bb01e786ad7573780efeafb742e526e (patch) | |
| tree | 0281b7d09e909ec26f69dc190e1904ecfd2f8bab | |
| parent | 73898f0214c9fa7f6216fc03dfdaccf67c6d0e03 (diff) | |
| download | emacs-179800f36bb01e786ad7573780efeafb742e526e.tar.gz emacs-179800f36bb01e786ad7573780efeafb742e526e.zip | |
; * lisp/epg.el (epg--start): Add commentary about encoding.
| -rw-r--r-- | lisp/epg.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/epg.el b/lisp/epg.el index cf59f03c724..494bdd68c41 100644 --- a/lisp/epg.el +++ b/lisp/epg.el | |||
| @@ -680,6 +680,9 @@ callback data (if any)." | |||
| 680 | :filter #'epg--process-filter | 680 | :filter #'epg--process-filter |
| 681 | :stderr error-process | 681 | :stderr error-process |
| 682 | :noquery t)))) | 682 | :noquery t)))) |
| 683 | ;; We encode and decode ourselves the text sent/received from gpg, | ||
| 684 | ;; so the below disables automatic encoding and decoding by | ||
| 685 | ;; subprocess communications routines. | ||
| 683 | (set-process-coding-system process 'raw-text 'raw-text) | 686 | (set-process-coding-system process 'raw-text 'raw-text) |
| 684 | (setf (epg-context-process context) process))) | 687 | (setf (epg-context-process context) process))) |
| 685 | 688 | ||