diff options
| author | Lars Ingebrigtsen | 2021-01-12 15:12:28 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-01-12 15:12:38 +0100 |
| commit | ca024b0575c4ea754c4c6e6dbf21ed610e0d1fb8 (patch) | |
| tree | 4b87356a3d9a269d88a7d0a05b04afcba9b7074d /doc/lispref/errors.texi | |
| parent | d191f1589b6d06221a58c8c4e6a6441b0a2a2e49 (diff) | |
| download | emacs-ca024b0575c4ea754c4c6e6dbf21ed610e0d1fb8.tar.gz emacs-ca024b0575c4ea754c4c6e6dbf21ed610e0d1fb8.zip | |
Add a new variable `inhibit-interaction'
* doc/lispref/elisp.texi (Top): Add a link.
* doc/lispref/errors.texi (Standard Errors): Mention the new error.
* doc/lispref/minibuf.texi (Minibuffers): Add a link.
(Inhibiting Interaction): New node.
* src/data.c (syms_of_data): Define the `inhibited-interaction' error.
* src/lisp.h: Export the barfing function.
* src/lread.c (Fread_char, Fread_event, Fread_char_exclusive):
Barf if inhibited.
* src/minibuf.c (barf_if_interaction_inhibited): New function.
(Fread_from_minibuffer, Fread_no_blanks_input): Barf if inhibited.
(syms_of_minibuf): Define the `inhibit-interaction' variable.
Diffstat (limited to 'doc/lispref/errors.texi')
| -rw-r--r-- | doc/lispref/errors.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/lispref/errors.texi b/doc/lispref/errors.texi index 9ec12714991..fb393b951f1 100644 --- a/doc/lispref/errors.texi +++ b/doc/lispref/errors.texi | |||
| @@ -230,6 +230,11 @@ The message is @samp{Wrong type argument}. @xref{Type Predicates}. | |||
| 230 | 230 | ||
| 231 | @item unknown-image-type | 231 | @item unknown-image-type |
| 232 | The message is @samp{Cannot determine image type}. @xref{Images}. | 232 | The message is @samp{Cannot determine image type}. @xref{Images}. |
| 233 | |||
| 234 | @item inhibited-interaction | ||
| 235 | The message is @samp{User interaction while inhibited}. This error is | ||
| 236 | signalled when @code{inhibit-interaction} is non-@code{nil} and a user | ||
| 237 | interaction function (like @code{read-from-minibuffer}) is called. | ||
| 233 | @end table | 238 | @end table |
| 234 | 239 | ||
| 235 | @ignore The following seem to be unused now. | 240 | @ignore The following seem to be unused now. |