From: morioka Date: Sat, 24 Oct 1998 10:59:53 +0000 (+0000) Subject: (base64-dl-module): Set nil as initial value if the running emacs has X-Git-Tag: flim-1_11_2~43 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=f86bb2ab9c3da0d97f43fff5dcb061ce6c857dab;p=elisp%2Fflim.git (base64-dl-module): Set nil as initial value if the running emacs has builtin base64 encoder/decoder. --- 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