From f86bb2ab9c3da0d97f43fff5dcb061ce6c857dab Mon Sep 17 00:00:00 2001 From: morioka Date: Sat, 24 Oct 1998 10:59:53 +0000 Subject: [PATCH] (base64-dl-module): Set nil as initial value if the running emacs has builtin base64 encoder/decoder. --- mime-def.el | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/mime-def.el b/mime-def.el index 7c1706f..6cc9554 100644 --- a/mime-def.el +++ b/mime-def.el @@ -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 -- 1.7.10.4