mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-21 12:27:33 +00:00
* lisp/loadup.el: Don't load pcase on native builds (bug#47025).
This commit is contained in:
parent
fe1c081c38
commit
711b2c8349
1 changed files with 2 additions and 1 deletions
|
|
@ -157,7 +157,8 @@
|
|||
;; Load-time macro-expansion can only take effect after setting
|
||||
;; load-source-file-function because of where it is called in lread.c.
|
||||
(load "emacs-lisp/macroexp")
|
||||
(if (byte-code-function-p (symbol-function 'macroexpand-all))
|
||||
(if (or (byte-code-function-p (symbol-function 'macroexpand-all))
|
||||
(subr-native-elisp-p (symbol-function 'macroexpand-all)))
|
||||
nil
|
||||
;; Since loaddefs is not yet loaded, macroexp's uses of pcase will simply
|
||||
;; fail until pcase is explicitly loaded. This also means that we have to
|
||||
|
|
|
|||
Loading…
Reference in a new issue