Function: message--cache-encoded

message--cache-encoded is a byte-compiled function defined in message.el.gz.

Signature

(message--cache-encoded MAILBUF)

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/message.el.gz
(defun message--cache-encoded (mailbuf)
  ;; Store the encoded buffer data for possible reuse later
  ;; when doing Fcc/Gcc handling.  This avoids having to do
  ;; things like re-GPG-encoding secure parts.
  (let ((encoded (buffer-string)))
    (with-current-buffer mailbuf
      (setq message-encoded-mail-cache encoded))))