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:
parent
0f83433946
commit
b6a57fb80c
1 changed files with 4 additions and 2 deletions
|
@ -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!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue