* mime-edit.el (mime-edit-user-agent-value): Don't require
authorueno <ueno>
Tue, 28 Dec 1999 07:42:20 +0000 (07:42 +0000)
committerueno <ueno>
Tue, 28 Dec 1999 07:42:20 +0000 (07:42 +0000)
`apel-ver' directly.

ChangeLog
mime-edit.el

index ac38951..2dae0af 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-12-28   Daiki Ueno  <ueno@ueda.info.waseda.ac.jp>
+
+       * mime-edit.el (mime-edit-user-agent-value): Don't require
+       `apel-ver' directly.
+
 1999-12-28  Katsumi Yamaoka   <yamaoka@jpl.org>
 
        * mime-edit.el (mime-edit-user-agent-value): Use `error' instead of
index 3eb5b08..a8a38ff 100644 (file)
@@ -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))