• Lars Ingebrigtsen's avatar
    Add a new variable `inhibit-interaction' · ca024b05
    Lars Ingebrigtsen authored
    * 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.
    ca024b05
NEWS 92.3 KB