aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (For, Fand, Fprogn): Doc fixes.Juanma Barranquero2007-07-161-3/+3
|
* (Fsetq): Doc fix.Richard M. Stallman2007-07-151-1/+5
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (Fcatch): Doc fix.Juanma Barranquero2006-11-011-1/+1
|
* Include xterm.h for x_fully_uncatch_errors and friends.Stefan Monnier2006-10-101-0/+4
|
* (find_handler_clause): Give up on debugger if INPUT_BLOCKED_P.Richard M. Stallman2006-09-081-0/+3
|
* (apply1, call2) [__GNUC__]: Declare with `__attribute__((noinline))'.Eli Zaretskii2006-09-021-0/+8
|
* * ebrowse.c (usage, version): Mark as NO_RETURN.Dan Nicolaescu2006-07-181-0/+1
| | | | | | | | | | | | | | | | | * 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.
* * eval.c (xsignal): New func. Like Fsignal, but marked no-return.Kim F. Storm2006-07-181-30/+95
| | | | | | | | | | | | (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.
* (Fthrow): Remove loop around Fsignal.Kim F. Storm2006-07-131-34/+46
| | | | | | | (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).
* (Fdefvaralias): Doc fix.Richard M. Stallman2006-07-031-2/+1
|
* (Fdefconst): Mark variable as risky.Richard M. Stallman2006-06-131-1/+3
|
* Comment munging wrt max-specpdl-size; nfc.Thien-Thi Nguyen2006-04-181-0/+1
|
* (unwind_to_catch): Call x_fully_uncatch_errors only if HAVE_X_WINDOWS.Eli Zaretskii2006-03-111-0/+8
| | | | | (internal_condition_case, internal_condition_case_1) (internal_condition_case_2): Call x_catching_errors only if HAVE_X_WINDOWS.
* (unwind_to_catch): Call x_fully_uncatch_errors.Richard M. Stallman2006-03-111-3/+17
| | | | | (internal_condition_case_1, internal_condition_case_2): Abort if within unclosed x_catch_errors.
* (specpdl_ptr): Remove volatile qualifier for consistency with lisp.h.Luc Teirlinck2006-02-261-1/+1
|
* * xterm.h (x_catch_errors) Return value changed to void.Chong Yidong2006-02-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | (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.
* * data.c (Findirect_function): Add NOERROR arg. All callers changedKim F. Storm2006-02-101-5/+5
| | | | | | | | 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.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (do_autoload): Ignore elements of Vautoload_queue where car is not symbol.Richard M. Stallman2005-12-281-1/+1
|
* (un_autoload): Expect (0 . OFEATURES) in Vautoload_queue to undo a `provide'.Richard M. Stallman2005-12-261-3/+3
|
* (internal_lisp_condition_case): New function.Richard M. Stallman2005-10-291-7/+24
| | | | | | (Fcondition_case): Use internal_lisp_condition_case. (Feval): Test Vmemory_full and memory_full_cons_threshold. (Ffuncall): Likewise.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-1/+1
|
* (Fdefvar): Allow (defvar enable-multibyte-characters).Stefan Monnier2005-07-261-12/+12
|
* (Feval, Ffuncall): Test gc_cons_threshold andRichard M. Stallman2005-07-231-2/+4
| | | | gc_relative_threshold, one by one.
* (restore_stack_limits): Return a value.Andreas Schwab2005-07-211-0/+1
|
* (Fdefvar): Doc fix.Juanma Barranquero2005-07-201-1/+1
|
* (Fprog2, Fcalled_interactively_p), (syms_of_eval) <debug-on-quit>: Doc fixes.Juanma Barranquero2005-07-191-19/+15
| | | | (Finteractive_p), (syms_of_eval) <max-specpdl-size>: Fix typos in docstrings.
* (Feval, Ffuncall): Use gc_cons_combined_threshold.Stefan Monnier2005-07-131-2/+2
|
* (Fdefvar): Allow defvaring a constant to itself quoted.Richard M. Stallman2005-07-091-2/+10
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (user_variable_p_eh): New function.Juanma Barranquero2005-06-291-21/+47
| | | | | (Fuser_variable_p): Use it. Clarify docstring. Return t for aliases of user options, nil for alias loops.
* (Fdefvar): Improve error message.Richard M. Stallman2005-06-281-1/+1
|
* (Fdefvar): Don't try to set constant symbols.Juanma Barranquero2005-06-271-0/+4
|
* (call_debugger): Take full care of extending stack limitsRichard M. Stallman2005-06-251-23/+48
| | | | | | | | | | | | | | 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.
* (Fdefvar, Fdefconst, Feval, Ffuncall): Follow error conventions.Juanma Barranquero2005-06-231-4/+4
|
* (Fdefvaralias): Rename arguments SYMBOL and ALIASED to NEW-ALIAS andJuanma Barranquero2005-06-141-19/+20
| | | | BASE-VARIABLE, respectively.
* * composite.c (compose_chars_in_text):Kim F. Storm2005-06-081-1/+1
| | | | | | | | | | | * 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.
* (unbind_to): Preserve value of Vquit_flag.Kim F. Storm2005-06-031-5/+5
|
* (Frun_hooks): Mention run-mode-hooks in docstring.Lute Kamstra2005-05-261-1/+4
|
* (Fdefvaralias): Remove any pre-existing variable-documentationLuc Teirlinck2005-05-081-0/+2
| | | | property of the alias.
* (Fdefvaralias): Doc fix.Luc Teirlinck2005-05-051-1/+3
|
* (do_autoload): Record only autoloads in the autoload property of symbols.Lute Kamstra2005-04-281-6/+3
|
* (Ffuncall): Always call CHECK_CONS_LIST on entry.Kim F. Storm2005-04-031-3/+4
| | | | Call it again after autoload.
* (unwind_to_catch): Use UNBLOCK_INPUT_TO.Richard M. Stallman2005-03-061-1/+8
| | | | (Feval, Ffuncall): Use CHECK_CONS_LIST.
* (Frun_hook_with_args)Richard M. Stallman2005-02-061-10/+15
| | | | | (Frun_hook_with_args_until_success) (Frun_hook_with_args_until_failure): Doc fixes.
* (Fdefun, Fdefmacro): Use (defun . FN_NAME) in LOADHIST_ATTACH.Richard M. Stallman2004-12-271-9/+6
| | | | | | (Fdefvaralias, Fdefvar, Fdefconst): Use just SYM in LOADHIST_ATTACH. (Qdefvar): Var deleted. (syms_of_eval): Don't initialze it.
* (unwind_to_catch): Clear immediate_quit.Richard M. Stallman2004-12-211-0/+1
|
* (syms_of_eval) <quit-flag>: Doc fix.Richard M. Stallman2004-12-131-1/+5
|
* (init_eval_once): Increase max_specpdl_size to 1000.Stefan Monnier2004-12-071-1/+1
|