diff options
Diffstat (limited to 'lisp/emacs-lisp/cl-compat.el')
-rw-r--r-- | lisp/emacs-lisp/cl-compat.el | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/cl-compat.el b/lisp/emacs-lisp/cl-compat.el index 6ef26dfc8ed..3276f588e6a 100644 --- a/lisp/emacs-lisp/cl-compat.el +++ b/lisp/emacs-lisp/cl-compat.el @@ -44,8 +44,15 @@ ;;; Code: -;; Require at load-time, but not when compiling cl-compat. -(or (featurep 'cl) (require 'cl)) +;; This used to be: +;; (or (featurep 'cl) (require 'cl)) +;; which just has the effect of fooling the byte-compiler into not +;; loading cl when compiling. However, that leads to some bogus +;; compiler warnings. Loading cl when compiling cannot do any harm, +;; because for a long time bootstrap-emacs contained 'cl, due to being +;; dumped from uncompiled files that eval-when-compile'd cl. So every +;; file was compiled with 'cl loaded. +(require 'cl) ;;; Keyword routines not supported by new package. |