mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* gnus-cloud.el (gnus-cloud-encode-data): Fix 'base64-gzip encoding.
This commit is contained in:
parent
113b3852d7
commit
9ad05bec03
1 changed files with 6 additions and 4 deletions
|
|
@ -112,11 +112,13 @@ easy interactive way to set this from the Server buffer."
|
|||
(defun gnus-cloud-encode-data ()
|
||||
(cond
|
||||
((eq gnus-cloud-storage-method 'base64-gzip)
|
||||
(call-process-region (point-min) (point-max) "gzip"
|
||||
t (current-buffer) nil
|
||||
"-c"))
|
||||
(progn
|
||||
(call-process-region (point-min) (point-max) "gzip"
|
||||
t (current-buffer) nil
|
||||
"-c")
|
||||
(base64-encode-region (point-min) (point-max))))
|
||||
|
||||
((memq gnus-cloud-storage-method '(base64 base64-gzip))
|
||||
((eq gnus-cloud-storage-method 'base64)
|
||||
(base64-encode-region (point-min) (point-max)))
|
||||
|
||||
((eq gnus-cloud-storage-method 'epg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue