]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/epg.el (epg--start): Add commentary about encoding.
authorEli Zaretskii <eliz@gnu.org>
Sat, 29 Jun 2024 12:53:11 +0000 (15:53 +0300)
committerEshel Yaron <me@eshelyaron.com>
Mon, 1 Jul 2024 07:42:58 +0000 (09:42 +0200)
(cherry picked from commit 179800f36bb01e786ad7573780efeafb742e526e)

lisp/epg.el

index cf59f03c724d2c0cc90cb67d389259fe40713d5d..494bdd68c415291bee5b8f17c94a3b9efbc3dc7b 100644 (file)
@@ -680,6 +680,9 @@ callback data (if any)."
                                    :filter #'epg--process-filter
                                    :stderr error-process
                                    :noquery t))))
+    ;; We encode and decode ourselves the text sent/received from gpg,
+    ;; so the below disables automatic encoding and decoding by
+    ;; subprocess communications routines.
     (set-process-coding-system process 'raw-text 'raw-text)
     (setf (epg-context-process context) process)))