]> git.eshelyaron.com Git - emacs.git/commit
Add functions to open a file without quitting.
authorPhilipp Stephani <phst@google.com>
Sun, 10 Jan 2021 21:28:31 +0000 (22:28 +0100)
committerPhilipp Stephani <phst@google.com>
Sun, 10 Jan 2021 21:31:22 +0000 (22:31 +0100)
commit94344d130c2c2db90bcc47e12870d1d58f020ecf
tree58eac6671be87a7c662cc1ee0f591a8e0aee7586
parentc7c154bb5756e0ae71d342c5d8aabf725877f186
Add functions to open a file without quitting.

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.
src/buffer.c
src/callproc.c
src/emacs.c
src/lisp.h
src/pdumper.c
src/sysdep.c
src/w32term.c