* wl-util.el (wl-generate-user-agent-string,
wl-extended-emacs-version, wl-extended-emacs-version2,
- wl-extended-emacs-version3): Move to wl-version.el
+ wl-extended-emacs-version3): Move to wl-version.el.
+ * wl-util.el (mule-version, nemacs-version, emacs-beta-version,
+ xemacs-codename, mime-edit-insert-user-agent-field,
+ mime-edit-user-agent-value, mime-editor/version,
+ mime-editor/codename): Compile warning killer move to
+ wl-version.el
2000-10-09 Kenichi OKADA <okada@opaopa.org>
(condition-case nil (require 'tm-edit) (error nil))
(condition-case nil (require 'pp) (error nil))
-(defvar mule-version)
-(defvar nemacs-version)
-(defvar emacs-beta-version)
-(defvar xemacs-codename)
-(defvar mime-edit-insert-user-agent-field)
-(defvar mime-edit-user-agent-value)
-(defvar mime-editor/version)
-(defvar mime-editor/codename)
-
(eval-when-compile
(require 'time-stamp)
(defalias-maybe 'read-event 'ignore)
(product-version (product-find 'elmo-version))) ; equals to ELMO version.
"Roam"))
+;; require wl-util after product-provide.
+(eval-when-compile (require 'wl-util)) ; wl-match-string
+
+;; compile warning
+(defvar mule-version)
+(defvar nemacs-version)
+(defvar emacs-beta-version)
+(defvar xemacs-codename)
+(defvar mime-edit-insert-user-agent-field)
+(defvar mime-edit-user-agent-value)
+(defvar mime-editor/version)
+(defvar mime-editor/codename)
+
(defun wl-version (&optional with-codename)
"Print Wanderlust version."
(interactive)
(interactive)
(message "%s" (wl-version t)))
-(eval-when-compile (require 'wl-util)) ; wl-match-string
-
(defun wl-generate-user-agent-string ()
"A candidate of wl-generate-mailer-string-func.
Insert User-Agent field instead of X-Mailer field."