(TopLevel): Use `static-if', requiring "static" at the compile time.
[elisp/gnus.git-] / lisp / base64.el
index 0eec5f4..a30d292 100644 (file)
@@ -25,6 +25,8 @@
 ;;; Boston, MA 02111-1307, USA.
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
+(require 'poe)
+
 ;; For non-MULE
 (if (not (fboundp 'char-int))
     (fset 'char-int 'identity))
@@ -108,9 +110,9 @@ base64-encoder-program.")
        (insert-char char count)
       (with-current-buffer buffer
        (insert-char char count))))
-  (setq base64-binary-coding-system 'no-conversion))
+  (setq base64-binary-coding-system 'raw-text))
 
-(defun base64-decode-region (start end)
+(defun-maybe base64-decode-region (start end)
   (interactive "r")
   ;;(message "Decoding base64...")
   (let ((work-buffer nil)
@@ -178,7 +180,7 @@ base64-encoder-program.")
   ;;(message "Decoding base64... done")
   )
 
-(defun base64-encode-region (start end &optional no-line-break)
+(defun-maybe base64-encode-region (start end &optional no-line-break)
   (interactive "r")
   (message "Encoding base64...")
   (let ((work-buffer nil)