Mercurial > emacs
changeset 96711:be35d9783436
Simply require 'cl (silences spurious warnings).
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 16 Jul 2008 02:50:40 +0000 |
parents | e3b70303f1e9 |
children | 02d7bcbcfaf6 |
files | lisp/emacs-lisp/cl-compat.el |
diffstat | 1 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/cl-compat.el Wed Jul 16 02:50:15 2008 +0000 +++ b/lisp/emacs-lisp/cl-compat.el Wed Jul 16 02:50:40 2008 +0000 @@ -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.