Use base64 instead of base64-encode.

Pascal J. Bourguignon [2014-06-04 23:35]
Use base64 instead of base64-encode.
Filename
pjb-mail.el
diff --git a/pjb-mail.el b/pjb-mail.el
index 241556d..115495a 100644
--- a/pjb-mail.el
+++ b/pjb-mail.el
@@ -875,7 +875,7 @@ DO:     Insert a file attachment at the point, prefixed with Content- headers
         (if compress
             (shell-command (format "gzip<%s|base64-encode"
                              (shell-quote-argument file-name))  t nil)
-            (shell-command (format "base64-encode<%s"
+            (shell-command (format "base64<%s"
                              (shell-quote-argument file-name))  t nil)))))

ViewGit