(base64-dl-module): Set nil as initial value if the running emacs has
authormorioka <morioka>
Sat, 24 Oct 1998 10:59:53 +0000 (10:59 +0000)
committermorioka <morioka>
Sat, 24 Oct 1998 10:59:53 +0000 (10:59 +0000)
builtin base64 encoder/decoder.

mime-def.el

index 7c1706f..6cc9554 100644 (file)
@@ -537,10 +537,13 @@ variable and (nth 1 (car (last ARGS))) is name of backend (encoding)."
        )))
 
 (defvar base64-dl-module
-  (and (fboundp 'dynamic-link)
-       (let ((path (expand-file-name "base64.so" exec-directory)))
-        (and (file-exists-p path)
-             path))))
+  (if (subrp 'base64-encode-string)
+      nil
+    (if (fboundp 'dynamic-link)
+       (let ((path (expand-file-name "base64.so" exec-directory)))
+         (and (file-exists-p path)
+              path)
+         ))))
 
 
 ;;; @ end