help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus: Store message in PGP-decrypted form


From: Jamie Beardslee
Subject: Re: Gnus: Store message in PGP-decrypted form
Date: Wed, 10 Jun 2020 13:57:39 +1200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

I stole some of it from `epa-decrypt-armor-in-region' because
`epa-mail-decrypt' is interactive-only.

Ideally armor-start and armor-end should only be lexically bound, so
they should be in the let form:

(let ((buffer (get-buffer-create
                 (format "%s *decrypted*"
                         (file-name-nondirectory file))))
      armor-beg armor-end)
   ...)

--
Jamie

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]