Attempt to fix initialization of startup variables on Android

* lisp/cus-start.el (standard): Revert last change if (featurep
'android), as Android systems perform dumping during the
initialization of the first user session.
This commit is contained in:
Po Lu 2025-06-26 00:02:11 +08:00
parent 6b078013f1
commit 704832f41b

View file

@ -949,7 +949,7 @@ since it could result in memory overflow and make Emacs crash."
;; If this is NOT while dumping Emacs, set up the rest of the
;; customization info. This is the stuff that is not needed
;; until someone does M-x customize etc.
(if dump-mode
(if (or dump-mode (and (featurep 'android) (not after-init-time)))
;; Don't re-add to custom-delayed-init-variables post-startup.
;; Note this is the _only_ initialize property we handle.
(if (eq (cadr (memq :initialize rest)) #'custom-initialize-delay)