Fix bootstrap (void function cl-member).

* lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
* lisp/emacs-lisp/cl-seq.el: Provide a feature.
This commit is contained in:
Glenn Morris 2015-05-13 19:02:31 -04:00
parent 37ab2245f2
commit 912d4a4935
2 changed files with 6 additions and 3 deletions

View file

@ -731,9 +731,10 @@ If ALIST is non-nil, the new pairs are prepended to it."
;;; Miscellaneous.
(provide 'cl-lib)
(or (load "cl-loaddefs" 'noerror 'quiet)
;; When bootstrapping, cl-loaddefs hasn't been built yet!
(require 'cl-macs))
(unless (load "cl-loaddefs" 'noerror 'quiet)
;; When bootstrapping, cl-loaddefs hasn't been built yet!
(require 'cl-macs)
(require 'cl-seq))
;; Local variables:
;; byte-compile-dynamic: t

View file

@ -1018,4 +1018,6 @@ Atoms are compared by `eql'; cons cells are compared recursively.
;; generated-autoload-file: "cl-loaddefs.el"
;; End:
(provide 'cl-seq)
;;; cl-seq.el ends here