From: Chong Yidong Date: Sat, 22 Aug 2009 14:33:55 +0000 (+0000) Subject: Remove statement preventing it from being loaded twice. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~844^2~6896^2~118 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f88099c0e054dcf58415313e186b664b49f17121;p=emacs.git 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. --- 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)