Variable: inhibit-quit
inhibit-quit is a variable defined in eval.c.
Value
nil
Documentation
Non-nil inhibits C-g quitting from happening immediately.
Note that quit-flag will still be set by typing C-g,
so a quit will be signaled as soon as inhibit-quit is nil.
To prevent this happening, set quit-flag to nil
before making inhibit-quit nil.
Probably introduced at or before Emacs version 24.1.
Source Code
// Defined in /usr/src/emacs/src/eval.c
DEFVAR_LISP ("inhibit-quit", Vinhibit_quit,
doc: /* Non-nil inhibits C-g quitting from happening immediately.
Note that `quit-flag' will still be set by typing C-g,
so a quit will be signaled as soon as `inhibit-quit' is nil.
To prevent this happening, set `quit-flag' to nil
before making `inhibit-quit' nil. */);