Load "custom" anyway.
[elisp/apel.git] / pcustom.el
index 214efe7..927a4e6 100644 (file)
   ;; 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)