inhibit-quit

inhibit-quit is a variable defined in `C source code'.
Its value is
nil

  • This variable may be risky if used as a file-local variable.

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.