mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 02:20:21 -08:00
* lisp/emacs-lisp/pcase.el (pcase--subtype-bitsets): Fix bootstrap failure
`rm lisp/emacs-lisp/cl-preloaded.elc src/bootstrap-emacs` followed by `make` ended up loading right after defining `built-in-class-p` but before actually defining the built-in-classes so the computation of bitsets failed.
This commit is contained in:
parent
70effed88d
commit
d8af7c99bb
1 changed files with 2 additions and 1 deletions
|
|
@ -678,7 +678,8 @@ recording whether the var has been referenced by earlier parts of the match."
|
|||
bitsets)))
|
||||
|
||||
(defconst pcase--subtype-bitsets
|
||||
(if (fboundp 'built-in-class-p)
|
||||
(if (and (fboundp 'built-in-class-p)
|
||||
(built-in-class-p (get 'function 'cl--class)))
|
||||
(pcase--subtype-bitsets)
|
||||
;; Early bootstrap: we don't have the built-in classes yet, so just
|
||||
;; use an empty table for now.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue