mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-05 20:43:08 +00:00
* gnus-cloud.el (gnus-cloud-encode-data): Fix 'base64-gzip encoding.
This commit is contained in:
parent
113b3852d7
commit
9ad05bec03
@ -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…
x
Reference in New Issue
Block a user