;; ignore broken module
(not (featurep 'tinycustom)))
(when (and (boundp 'emacs-major-version)
- (eq emacs-major-version 19)
+ (= emacs-major-version 19)
(>= emacs-minor-version 29))
(message "%s" "
Warning: You don't seem to have \"new custom\" package installed.
(setq load-path (cons (expand-file-name UTILSDIR) load-path)))
(require 'install)
(load "./WL-ELS" nil nil t)
- (condition-case ()
- (require 'mime-setup)
- (error (error "No MIME module was detected. Please install SEMI.")))
+ ;; product.el version check
+ (require 'product)
+ (if (not (fboundp 'product-version-as-string))
+ (error "Please install new APEL. See INSTALL or INSTALL.ja"))
;; smtp.el version check.
(require 'smtp)
(if (not (fboundp 'smtp-send-buffer))
- (error "Please install new FLIM. See INSTALL or INSTALL.ja."))))
+ (error "Please install new FLIM. See INSTALL or INSTALL.ja"))
+ (condition-case ()
+ (require 'mime-setup)
+ (error (error "Cannot load `mime-setup'. Please install SEMI")))))
(defun config-wl-pixmap-dir (&optional packagedir)
"Examine pixmap directory where icon files should go."
(defun config-wl-package-xmas ()
(if (not (featurep 'xemacs))
- (error "This directive is only for XEmacs."))
+ (error "This directive is only for XEmacs"))
(config-wl-package-subr)
;; PACKAGEDIR check.
(let (package-dir)