From: Eli Zaretskii Date: Wed, 8 May 2002 17:59:04 +0000 (+0000) Subject: (Quitting): Add an index entry containing the word ``interrupt''. X-Git-Tag: ttn-vms-21-2-B4~15140 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=34c0b12eb64fe22ed5e3525beee8d705da17e525;p=emacs.git (Quitting): Add an index entry containing the word ``interrupt''. --- diff --git a/lispref/commands.texi b/lispref/commands.texi index f6be1c332a9..c3a1a6d9d82 100644 --- a/lispref/commands.texi +++ b/lispref/commands.texi @@ -2302,6 +2302,7 @@ Use @code{sleep-for} when you wish to guarantee a delay. @section Quitting @cindex @kbd{C-g} @cindex quitting +@cindex interrupt Lisp functions Typing @kbd{C-g} while a Lisp function is running causes Emacs to @dfn{quit} whatever it is doing. This means that control returns to the @@ -2344,6 +2345,7 @@ about the special behavior of @kbd{C-g} in the command loop. In the case of @code{read-quoted-char}, this is so that @kbd{C-q} can be used to quote a @kbd{C-g}. +@cindex prevent quitting You can prevent quitting for a portion of a Lisp function by binding the variable @code{inhibit-quit} to a non-@code{nil} value. Then, although @kbd{C-g} still sets @code{quit-flag} to @code{t} as usual, the