- (epg-context-set-result-for context 'decryption-okay t)
- (epg-context-set-result-for
- context
- 'decrypted-plaintext
- (epg-context-result-for context 'plaintext)))
-
-(defun epg--status-PLAINTEXT_LENGTH (context string)
- (when (string-match "\\`\\([0-9]+\\)" string)
- (let ((length (string-to-number (match-string 1 string))))
- (epg-wait-for-plaintext context length)
- (epg-context-set-result-for
- context 'plaintext
- (buffer-substring epg-read-point
- (setq epg-read-point (+ epg-read-point length)))))))