From f88099c0e054dcf58415313e186b664b49f17121 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 22 Aug 2009 14:33:55 +0000 Subject: [PATCH] Remove statement preventing it from being loaded twice. 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 | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lisp/eieio/eieio.el b/lisp/eieio/eieio.el index b68e911f066..6931d992188 100644 --- a/lisp/eieio/eieio.el +++ b/lisp/eieio/eieio.el @@ -45,17 +45,8 @@ (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) -- 2.39.2