]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove statement preventing it from being loaded twice.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 22 Aug 2009 14:33:55 +0000 (14:33 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 22 Aug 2009 14:33:55 +0000 (14:33 +0000)
Remove statement preventing it from being byte-compiled if loaded.
Remove `(load "cl-macs" nil t)' statement: the functions in
  cl-macs are autoloaded by cl.

lisp/eieio/eieio.el

index b68e911f0663b00cbe13eef0df5b9d41265066d0..6931d9921889c5a79ee8ff1c7fcc02f2805c8d3e 100644 (file)
 (defvar eieio-version "1.2"
   "Current version of EIEIO.")
 
-(when (featurep 'eieio)
-  (error "Do not load EIEIO twice."))
-
-(eval-when-compile
-  (when (featurep 'eieio)
-    (error "Do not byte-compile EIEIO if EIEIO is already loaded.")))
-
 (require 'cl)
-;;(load "cl-macs" nil t) ; No provide in this file.
 
-;;; Code:
 (defun eieio-version ()
   "Display the current version of EIEIO."
   (interactive)