diff options
| author | Stefan Monnier | 2025-06-27 22:55:04 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2025-06-27 22:55:17 -0400 |
| commit | cb484ead91cb20f1cad31ac878a65ea1e9354871 (patch) | |
| tree | 6f45cf89e11d766abfcf668688952462e9de7bce /src | |
| parent | a132ca9a5463c599f43901ab5064d639b0eff93c (diff) | |
| download | emacs-cb484ead91cb20f1cad31ac878a65ea1e9354871.tar.gz emacs-cb484ead91cb20f1cad31ac878a65ea1e9354871.zip | |
cus-start.el: Reliably distinguish preload from nonpreload
`dump-mode` can be nil even if we're about to dump (this is
done in the Android build), so don't rely on it to distinguish
if `cus-start` is loaded from `loadup.el` vs loaded during
a "normal run".
* lisp/loadup.el (cus-start): Bind `cus-start--preload`.
* lisp/cus-start.el: <top-level>: Test it rather than `dump-mode`.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions