;;; custom.el --- Primitive custom library.

;; Use this file only if you are using an old version of Emacs that
;; does not come with the custom package.

;; Set up the custom library.
;; taken from http://www.dina.kvl.dk/~abraham/custom/

(if (and (featurep 'custom) (fboundp 'custom-declare-variable))
    nil ;; We've got what we needed
  ;; We have the old custom-library, hack around it!
  (defmacro defgroup (&rest args)
    nil)
  (defmacro defcustom (var value doc &rest args) 
    (` (defvar (, var) (, value) (, doc)))))

(provide 'custom)
