| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* emacsclient.c (print_help_and_exit): Likewise.
* xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN.
* textprop.c (text_read_only): Likewise.
* lread.c (end_of_file_error): Likewise.
* lisp.h (circular_list_error, memory_full, buffer_memory_full):
Likewise.
* eval.c (unwind_to_catch): Likewise.
* buffer.h (buffer_slot_type_mismatch): Likewise.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(xsignal0, xsignal1, xsignal2, xsignal3): New no-return functions.
(signal_error): New no-return function (from xfaces.c).
(Fthrow): Use xsignal2 instead of Fsignal + abort.
(error): Use xsignal1 instead of Fsignal + abort.
(FletX, Flet, grow_specpdl): Use signal_error.
(Feval, Ffuncall, funcall_lambda): Use xsignal1, xsignal2.
* xfaces.c (signal_error): Move to eval.c.
(resolve_face_name): Use xsignal1.
|
| |
|
|
|
|
|
| |
(Feval, Fapply, Ffuncall): Optimize for no function indirection.
Use original function name in all signaled errors.
Simplify Fsignal calls (no return).
(funcall_lambda): Simplify Fsignal calls (no return).
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
(internal_condition_case, internal_condition_case_1)
(internal_condition_case_2): Call x_catching_errors only if HAVE_X_WINDOWS.
|
| |
|
|
|
| |
(internal_condition_case_1, internal_condition_case_2):
Abort if within unclosed x_catch_errors.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(x_uncatch_errors): Unused count argument deleted.
* xterm.c (x_catch_errors): Don't use record_unwind_protect, since
it can be called in a signal handler.
(x_catch_errors_unwind): Function deleted.
(x_uncatch_errors): Deallocate last x_error_message_stack struct.
(x_check_errors): Call x_uncatch_errors before signalling error.
(x_load_font, x_term_init, XTmouse_position, handle_one_xevent)
(x_connection_closed, x_list_fonts): Use new versions of
x_catch_errors and x_uncatch_errors.
* xselect.c (x_own_selection, x_decline_selection_request)
(x_reply_selection_request, x_get_foreign_selection)
(Fx_get_atom_name, Fx_send_client_event): Likewise.
* xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame):
Likewise.
* eval.c (record_unwind_protect): Add an assertion.
|
| |
|
|
|
|
|
|
| |
to pass Qnil for NOERROR.
* keymap.c (current_minor_maps_error): Remove.
(current_minor_maps): Pass Qt for NOERROR to Findirect_function
instead of using internal_condition_case_1+current_minor_maps_error.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
(Fcondition_case): Use internal_lisp_condition_case.
(Feval): Test Vmemory_full and memory_full_cons_threshold.
(Ffuncall): Likewise.
|
| | |
|
| | |
|
| |
|
|
| |
gc_relative_threshold, one by one.
|
| | |
|
| | |
|
| |
|
|
| |
(Finteractive_p), (syms_of_eval) <max-specpdl-size>: Fix typos in docstrings.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
(Fuser_variable_p): Use it. Clarify docstring.
Return t for aliases of user options, nil for alias loops.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
to make space for the debugger, and restore the change afterward.
Bind debug-on-error to nil.
(restore_stack_limits): New subroutine.
(Fsignal): Extend specpdl bound along with eval depth bound,
for calling edebug. Don't do either one, for calling debugger.
(find_handler_clause): Don't bind debug-on-error here.
Don't unbind anything either.
Temporarily advance max_specpdl_size for calling
internal_with_output_to_temp_buffer.
(grow_specpdl): Don't alter max_specpdl_size before signaling an error.
(syms_of_eval) <max-specpdl-size>: Doc fix.
|
| | |
|
| |
|
|
| |
BASE-VARIABLE, respectively.
|
| |
|
|
|
|
|
|
|
|
|
| |
* eval.c (do_autoload):
* macmenu.c (set_frame_menubar):
* process.c (read_process_output, exec_sentinel):
* xmenu.c (set_frame_menubar):
* xdisp.c (prepare_menu_bars, update_menu_bar, update_tool_bar):
* w32menu.c (set_frame_menubar):
Use record_unwind_save_match_data.
Rename restore_match_data to restore_search_regs.
|
| | |
|
| | |
|
| |
|
|
| |
property of the alias.
|
| | |
|
| | |
|
| |
|
|
| |
Call it again after autoload.
|
| |
|
|
| |
(Feval, Ffuncall): Use CHECK_CONS_LIST.
|
| |
|
|
|
| |
(Frun_hook_with_args_until_success)
(Frun_hook_with_args_until_failure): Doc fixes.
|
| |
|
|
|
|
| |
(Fdefvaralias, Fdefvar, Fdefconst): Use just SYM in LOADHIST_ATTACH.
(Qdefvar): Var deleted.
(syms_of_eval): Don't initialze it.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
(interactive_p): Skip Scalled_interactively_p frames
like Sinteractive_p frames.
|
| |
|
|
| |
compiler warnings.
|
| | |
|
| | |
|
| |
|
|
|
| |
* xmenu.c (popup_get_selection, create_and_show_popup_menu)
(create_and_show_dialog): Revert change from 2004-10-31.
|
| |
|
|
| |
(syms_of_eval): Defsubr it.
|
| |
|
|
|
|
|
| |
(interactive_p): Don't test INTERACTIVE here.
(Finteractive_p): Doc fix.
(Feval): Abort if INPUT_BLOCKED_P.
|