]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't recognize "bootstrap" option for --temacs
authorPip Cet <pipcet@protonmail.com>
Wed, 21 Aug 2024 08:44:14 +0000 (08:44 +0000)
committerEshel Yaron <me@eshelyaron.com>
Mon, 3 Feb 2025 10:27:25 +0000 (11:27 +0100)
This option only makes sense for unexec dumping.

* src/emacs.c (main): Recognize "pbootstrap" only, not "bootstrap".

(cherry picked from commit 9a0728af9df7c208a7e93f8e970b7348b1273fee)

src/emacs.c

index 0b08feb9209a79c77af989ff9014cabf1e57ae76..f0281044c9e4fde791e2edbd609a5d5795561c7e 100644 (file)
@@ -1310,8 +1310,7 @@ android_emacs_init (int argc, char **argv, char *dump_file)
       if (strcmp (temacs, "pdump") == 0 ||
           strcmp (temacs, "pbootstrap") == 0)
         gflags.will_dump_with_pdumper_ = true;
-      if (strcmp (temacs, "bootstrap") == 0 ||
-          strcmp (temacs, "pbootstrap") == 0)
+      if (strcmp (temacs, "pbootstrap") == 0)
         gflags.will_bootstrap_ = true;
       gflags.will_dump_ =
         will_dump_with_pdumper_p ();