Tweak bytecomp's loading of cl-extra

* lisp/emacs-lisp/bytecomp.el: Don't force load of cl-extra in a
post-bootstrap emacs where cl-loaddefs does exist.
This commit is contained in:
Glenn Morris 2017-04-18 20:52:22 -04:00
parent 0f83433946
commit b6a57fb80c

View file

@ -124,11 +124,13 @@
(require 'backquote)
(require 'macroexp)
(require 'cconv)
(require 'cl-lib)
;; During bootstrap, cl-loaddefs.el is not created yet, so loading cl-lib
;; doesn't setup autoloads for things like cl-every, which is why we have to
;; require cl-extra instead (bug#18804).
(require 'cl-extra)
;; require cl-extra as well (bug#18804).
(or (fboundp 'cl-every)
(require 'cl-extra))
(or (fboundp 'defsubst)
;; This really ought to be loaded already!