• Philipp Stephani's avatar
    Add functions to open a file without quitting. · 94344d13
    Philipp Stephani authored
    In some situations, e.g. when the Lisp machinery isn't available, we
    can't quit.  Don't check the quit flags in such situations, in case
    they contain garbage.
    * src/sysdep.c (emacs_open_noquit, emacs_openat_noquit): New variants
    of 'emacs_open' and 'emacs_openat' that don't check the quit flags.
    * src/emacs.c (main, Fdaemon_initialized):
    * src/pdumper.c (pdumper_load):
    * src/w32term.c (w32_initialize):
    * src/buffer.c (mmap_init):
    * src/callproc.c (emacs_spawn): Use them where we can't quit.
pdumper.c 172 KB