From 6ce10d13eb13e97c8f08f9665bf6d1cec1a059a1 Mon Sep 17 00:00:00 2001 From: ueno Date: Tue, 28 Dec 1999 07:42:20 +0000 Subject: [PATCH] * mime-edit.el (mime-edit-user-agent-value): Don't require `apel-ver' directly. --- ChangeLog | 5 +++++ mime-edit.el | 7 ++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index ac38951..2dae0af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-12-28 Daiki Ueno + + * mime-edit.el (mime-edit-user-agent-value): Don't require + `apel-ver' directly. + 1999-12-28 Katsumi Yamaoka * mime-edit.el (mime-edit-user-agent-value): Use `error' instead of diff --git a/mime-edit.el b/mime-edit.el index 3eb5b08..a8a38ff 100644 --- a/mime-edit.el +++ b/mime-edit.el @@ -646,11 +646,8 @@ If it is not specified for a major-mode, " (" (mime-product-code-name mime-library-product) ") " - (condition-case nil - (progn - (require 'apel-ver) - (concat (apel-version) " ")) - (error nil)) + (if (fboundp 'apel-version) + (concat (apel-version) " ")) (if (featurep 'xemacs) (concat (cond ((featurep 'utf-2000) (concat "UTF-2000-MULE/" utf-2000-version)) -- 1.7.10.4