Mercurial > emacs
changeset 45191:60dbe3b230eb
(Quitting): Add an index entry containing the word ``interrupt''.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Wed, 08 May 2002 17:59:04 +0000 |
parents | 9c3195b605f7 |
children | 4558ce6ceb57 |
files | lispref/commands.texi |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/commands.texi Wed May 08 16:42:09 2002 +0000 +++ b/lispref/commands.texi Wed May 08 17:59:04 2002 +0000 @@ -2302,6 +2302,7 @@ @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 @@ 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