From 99356061582b43409bb7d05dd887186aba575ecf Mon Sep 17 00:00:00 2001 From: shuhei-k Date: Thu, 17 Jun 1999 01:05:42 +0000 Subject: [PATCH] Load "custom" anyway. --- pcustom.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pcustom.el b/pcustom.el index 214efe7..927a4e6 100644 --- a/pcustom.el +++ b/pcustom.el @@ -46,12 +46,12 @@ ;; at compile-time. (or (condition-case nil ;; load-time check. - ;; "new custom" requires widget library. - (and (require 'widget) - (require 'custom) + ;; load "custom" if exists. + (and (require 'custom) (fboundp 'custom-declare-variable)) (error nil)) - ;; load emulation version. + ;; your custom is "old custom", or you don't have custom library. + ;; load emulation version of "new custom". (require 'tinycustom))) (provide 'pcustom) -- 1.7.10.4