Thien-Thi Nguyen
6588243de7
Comment munging wrt max-specpdl-size; nfc.
2006-04-18 21:00:44 +00:00
Eli Zaretskii
a2a103bbe1
(unwind_to_catch): Call x_fully_uncatch_errors only if HAVE_X_WINDOWS.
...
(internal_condition_case, internal_condition_case_1)
(internal_condition_case_2): Call x_catching_errors only if HAVE_X_WINDOWS.
2006-03-11 16:00:50 +00:00
Richard M. Stallman
88019a6328
(unwind_to_catch): Call x_fully_uncatch_errors.
...
(internal_condition_case_1, internal_condition_case_2):
Abort if within unclosed x_catch_errors.
2006-03-11 15:19:31 +00:00
Luc Teirlinck
ab83782857
(specpdl_ptr): Remove volatile qualifier for consistency with lisp.h.
2006-02-26 18:08:02 +00:00
Chong Yidong
9ba8e10d99
* xterm.h (x_catch_errors) Return value changed to void.
...
(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.
2006-02-25 23:20:10 +00:00
Kim F. Storm
a7f96a358b
* data.c (Findirect_function): Add NOERROR arg. All callers changed
...
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.
2006-02-10 00:00:31 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Richard M. Stallman
fe5195e82e
(do_autoload): Ignore elements of Vautoload_queue where car is not symbol.
2005-12-28 02:09:45 +00:00
Richard M. Stallman
47b82df943
(un_autoload): Expect (0 . OFEATURES) in Vautoload_queue to undo a `provide'.
2005-12-26 04:46:06 +00:00
Richard M. Stallman
ee830945cc
(internal_lisp_condition_case): New function.
...
(Fcondition_case): Use internal_lisp_condition_case.
(Feval): Test Vmemory_full and memory_full_cons_threshold.
(Ffuncall): Likewise.
2005-10-29 19:34:12 +00:00
Thien-Thi Nguyen
0b5538bd85
Update years in copyright notice; nfc.
2005-08-07 12:33:19 +00:00
Stefan Monnier
1c9916a1f9
(Fdefvar): Allow (defvar enable-multibyte-characters).
2005-07-26 16:28:44 +00:00
Richard M. Stallman
8f6bda75fb
(Feval, Ffuncall): Test gc_cons_threshold and
...
gc_relative_threshold, one by one.
2005-07-23 19:09:09 +00:00
Andreas Schwab
538f78c3a8
(restore_stack_limits): Return a value.
2005-07-21 15:03:51 +00:00
Juanma Barranquero
2935784733
(Fdefvar): Doc fix.
2005-07-20 15:51:52 +00:00
Juanma Barranquero
82fc29a186
(Fprog2, Fcalled_interactively_p), (syms_of_eval) <debug-on-quit>: Doc fixes.
...
(Finteractive_p), (syms_of_eval) <max-specpdl-size>: Fix typos in docstrings.
2005-07-19 11:34:17 +00:00
Stefan Monnier
856163dbe8
(Feval, Ffuncall): Use gc_cons_combined_threshold.
2005-07-13 05:31:35 +00:00
Richard M. Stallman
ed6cefb42c
(Fdefvar): Allow defvaring a constant to itself quoted.
2005-07-09 03:42:43 +00:00
Lute Kamstra
4fc5845fe8
Update FSF's address.
2005-07-04 16:49:24 +00:00
Juanma Barranquero
606cdb8902
(user_variable_p_eh): New function.
...
(Fuser_variable_p): Use it. Clarify docstring.
Return t for aliases of user options, nil for alias loops.
2005-06-29 02:08:32 +00:00
Richard M. Stallman
3a1f1d792b
(Fdefvar): Improve error message.
2005-06-28 02:27:46 +00:00
Juanma Barranquero
69410484f2
(Fdefvar): Don't try to set constant symbols.
2005-06-27 06:00:54 +00:00
Richard M. Stallman
9f5903bb77
(call_debugger): Take full care of extending stack limits
...
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.
2005-06-25 14:37:47 +00:00
Juanma Barranquero
921baa95ba
(Fdefvar, Fdefconst, Feval, Ffuncall): Follow error conventions.
2005-06-23 16:07:51 +00:00
Juanma Barranquero
4a9308b8e2
(Fdefvaralias): Rename arguments SYMBOL and ALIASED to NEW-ALIAS and
...
BASE-VARIABLE, respectively.
2005-06-14 00:39:32 +00:00
Kim F. Storm
89f2614d96
* composite.c (compose_chars_in_text):
...
* 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.
2005-06-08 22:33:36 +00:00
Kim F. Storm
5a073f5075
(unbind_to): Preserve value of Vquit_flag.
2005-06-03 23:02:21 +00:00
Lute Kamstra
9f68525868
(Frun_hooks): Mention run-mode-hooks in docstring.
2005-05-26 09:32:15 +00:00
Luc Teirlinck
bd81fcf8db
(Fdefvaralias): Remove any pre-existing variable-documentation
...
property of the alias.
2005-05-08 16:30:13 +00:00
Luc Teirlinck
b0c68b63ae
(Fdefvaralias): Doc fix.
2005-05-05 22:40:56 +00:00
Lute Kamstra
f4cfd81af9
(do_autoload): Record only autoloads in the autoload property of symbols.
2005-04-28 08:38:35 +00:00
Kim F. Storm
fff3ff9c18
(Ffuncall): Always call CHECK_CONS_LIST on entry.
...
Call it again after autoload.
2005-04-03 22:08:58 +00:00
Richard M. Stallman
c1788fbc8b
(unwind_to_catch): Use UNBLOCK_INPUT_TO.
...
(Feval, Ffuncall): Use CHECK_CONS_LIST.
2005-03-06 16:02:47 +00:00
Richard M. Stallman
d5e2c90c44
(Frun_hook_with_args)
...
(Frun_hook_with_args_until_success)
(Frun_hook_with_args_until_failure): Doc fixes.
2005-02-06 11:23:38 +00:00
Richard M. Stallman
6fd797f5b6
(Fdefun, Fdefmacro): Use (defun . FN_NAME) in LOADHIST_ATTACH.
...
(Fdefvaralias, Fdefvar, Fdefconst): Use just SYM in LOADHIST_ATTACH.
(Qdefvar): Var deleted.
(syms_of_eval): Don't initialze it.
2004-12-27 16:02:24 +00:00
Richard M. Stallman
69bbd6bd04
(unwind_to_catch): Clear immediate_quit.
2004-12-21 11:33:57 +00:00
Richard M. Stallman
42ed718e49
(syms_of_eval) <quit-flag>: Doc fix.
2004-12-13 19:05:42 +00:00
Stefan Monnier
a4547405f5
(init_eval_once): Increase max_specpdl_size to 1000.
2004-12-07 16:52:18 +00:00
Richard M. Stallman
0b31741cdc
(Fcalled_interactively_p): Don't check INTERACTIVE.
...
(interactive_p): Skip Scalled_interactively_p frames
like Sinteractive_p frames.
2004-12-02 23:36:53 +00:00
Eli Zaretskii
b28d0d9a8f
(Fdefvar): Declare pdl from last change as `volatile' to prevent
...
compiler warnings.
2004-11-26 11:47:20 +00:00
Stefan Monnier
d0bce91e9c
(Fdefvar): Warn when var is let-bound but globally void.
2004-11-22 05:26:50 +00:00
Thien-Thi Nguyen
345802a7c3
(init_eval_once): Increase `max_specpdl_size' to 650.
2004-11-20 10:26:24 +00:00
Jan Djärv
df470e3b0b
* eval.c (Feval): Remove check for INPUT_BLOCKED_P.
...
* xmenu.c (popup_get_selection, create_and_show_popup_menu)
(create_and_show_dialog): Revert change from 2004-10-31.
2004-11-06 07:47:27 +00:00
Kim F. Storm
4b664e7618
(Fcalled_interactively_p): Rename from Fcall_interactive_p.
...
(syms_of_eval): Defsubr it.
2004-11-02 10:00:14 +00:00
Richard M. Stallman
c63df42bfa
(Fcall_interactive_p): New function.
...
(interactive_p): Don't test INTERACTIVE here.
(Finteractive_p): Doc fix.
(Feval): Abort if INPUT_BLOCKED_P.
2004-11-02 08:59:26 +00:00
Luc Teirlinck
733f68b6ec
(Fdefvar, Fdefconst): Doc fixes.
2004-07-29 01:41:36 +00:00
Steven Tamm
e082ac9deb
Fixes for Ctrl-G support on carbon, replacing old timeout based polling
...
with alarm based polling.
mac.c (sys_select): Redo sys_select to use alarm-based
polling instead of 1 sec timeouts (like solaris).
macterm.c (x_make_frame_visible): Comment in polling on
frame creation.
keyboard.c: Undef SIGIO on Carbon
atimer.c (alarm_signal_handler): Call alarm handlers after
scheduling.
eval.c (Feval): Remove quit_char test
process.c (wait_reading_process_input): Remove clearing
stdin for select call on process input
2004-07-19 04:42:43 +00:00
John Paul Wallington
8e975df9c8
(Fdefmacro): Signal an error if NAME is not a symbol.
2004-07-06 01:38:58 +00:00
Eli Zaretskii
6992a868c3
(Fdefun): Signal an error if NAME is not a symbol.
2004-06-12 10:32:44 +00:00
Stefan Monnier
2b47b74d0c
(Fcondition_case): Fix usage. Simplify.
2004-06-01 23:21:55 +00:00