Commit graph

203 commits

Author SHA1 Message Date
Juanma Barranquero
7d5c86e5de (Fdefmacro): Fix typo. 2003-02-12 15:45:05 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Markus Rost
225513e8ce (Fuser_variable_p): Doc change. For custom variables,
use the same test as for custom-variable-p.
2003-01-07 19:33:57 +00:00
Richard M. Stallman
2659a09fb8 Errors and throws work right with interrupt blocking.
(struct catchtag): New elt interrupt_input_blocked.
(unwind_to_catch): Restore interrupt_input_blocked from saved value.
(internal_catch, Fcondition_case, internal_condition_case)
(internal_condition_case_1, internal_condition_case_2): Save it.
(Fsignal): Don't do TOTALLY_UNBLOCK_INPUT.
2002-12-21 18:05:00 +00:00
Steven Tamm
824eb35eec Feval: On Carbon/MacOSX call mac_check_for_quit_char at each stack frame.
This may change/move as it could be quite time consuming
2002-12-08 06:02:17 +00:00
Richard M. Stallman
f58e9f8c1a (Fdefun, Fdefmacro): Record in load-history redefining an autoload. 2002-12-07 21:39:18 +00:00
Richard M. Stallman
4402a9ed6f (interactive_p): Skip any number of bytecode
and subr frames, in any order.
2002-11-21 17:33:01 +00:00
Andreas Schwab
addf35fd86 Fix last change. 2002-08-24 18:36:27 +00:00
Richard M. Stallman
d7c1d0fce5 (Fdefvar, Fdefconst, Fdefvaralias):
Record variables in load history as (defvar . VAR).
(Fdefvar): Don't record in load history if no initial value.
(Qdefvar): New variable.
(syms_of_eval): Init and staticpro it.
2002-08-24 03:19:23 +00:00
Juanma Barranquero
1848d15dad (Fdefvaralias): Add docstring argument. 2002-07-15 15:37:51 +00:00
Ken Raeburn
d5db40779d Most uses of XSTRING combined with STRING_BYTES or indirection changed to
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
2002-07-15 00:01:34 +00:00
Richard M. Stallman
26631f2b58 (Fsignal): Don't call cancel_hourglass.
For a memory-full error, don't call Vsignal_hook_function
and don't set Vsignaling_function.
2002-07-12 11:16:42 +00:00
Juanma Barranquero
aed1337830 Use macro SPECPDL_INDEX. 2002-07-11 14:18:02 +00:00
Richard M. Stallman
0654d6e3fc (Fdefmacro): Doc fix. 2002-07-07 10:07:32 +00:00
Richard M. Stallman
2520dc0caa (syms_of_eval): Doc fix. 2002-05-28 20:24:32 +00:00
Ken Raeburn
29c6805db2 * eval.c (do_autoload): Use SYMBOL_NAME and XSTRING instead of
XSYMBOL and name field.
2002-05-20 08:05:37 +00:00
Eli Zaretskii
769b4fb2f5 (Fcommandp): Doc fix. 2002-05-15 16:36:13 +00:00
Richard M. Stallman
aea6173f18 Comment change. 2002-04-30 17:53:39 +00:00
Richard M. Stallman
ab4db096fd (do_autoload): Error if called while preparing to dump. 2002-04-30 17:46:26 +00:00
Richard M. Stallman
e72706be38 (Fcommandp): New arg for_call_interactively. 2002-04-28 22:06:38 +00:00
Gerd Moellmann
d6edd563f4 (Qdeclare, Vmacro_declaration_function): New variables.
(Fdefmacro): Handle `(declare ...)'.
(syms_of_eval) <Qdeclare>: Initialize and staticpro.
(syms_of_eval) <Vmacro_declaration_function>: DEFVAR_LISP.
2002-03-24 19:52:55 +00:00
Stefan Monnier
31ade731e6 Change defvar_int def and vars to use EMACS_INT instead of just int. 2002-03-04 23:41:00 +00:00
Pavel Janík
bf1a876009 (Fsignal): Remove duplicated declaration of the variable
`display_hourglass_p'.
2002-02-02 10:08:08 +00:00
Andreas Schwab
7cff26935f (max_specpdl_size, max_lisp_eval_depth): Define as int,
not EMACS_INT, to make them compatible with DEFVAR_INT.
2002-01-01 16:59:17 +00:00
Pavel Janík
2b9bde762b Remove variables Qmocklisp_arguments', Vmocklisp_arguments' and
`Qmocklisp'.  Remove prototype of ml_apply.
(Fprogn, Fwhile, Fcommandp, Feval, Ffuncall, funcall_lambda): Do not test
for mocklisp case.
(Fwhile): Remove unused variable `tem'.
(syms_of_eval): Remove variable `moclisp-arguments'.
2001-12-22 14:01:01 +00:00
Stefan Monnier
7a25dc6ddc Undo last change. Consistency doesn't seem to be desired. 2001-12-06 16:21:23 +00:00
Stefan Monnier
162873a199 Use standard syntax for usage in docstrings. 2001-12-05 01:39:21 +00:00
Stefan Monnier
845975f566 Use AREF and ASIZE.
(Ffetch_bytecode): Add the file name to the error message.
2001-11-26 23:29:48 +00:00
Stefan Monnier
2901f1d1c5 (max_specpdl_size, max_lisp_eval_depth): Use EMACS_INT.
(funcall_lambda, run_hook_with_args): Make static and add prototype.
(ml_apply, find_handler_clause): Add prototype.
2001-11-16 11:43:41 +00:00
Richard M. Stallman
704788b3ec (syms_of_eval): Doc fix. 2001-11-14 00:07:34 +00:00
Pavel Janík
b8de5714c4 (Fif): Reindent.
(Fand): Likewise.
2001-11-13 07:00:46 +00:00
Pavel Janík
2df5238c1a (top_level_value, top_level_set): Remove commented and #ifdef'd-out code.
(Fdefvar): Fix usage in doc-string.
2001-11-04 10:28:01 +00:00
Pavel Janík
1b1acc13ab (debugger_may_continue, Vdebug_ignored_errors, call_debugger,
Fcondition_case, skip_debugger, unbind_to): Fix typos in comments.
2001-11-02 22:41:20 +00:00
Pavel Janík
b782650360 Update usage of CHECK_ macros (remove unused second argument). 2001-11-02 20:46:55 +00:00
Richard M. Stallman
72e85d5df6 (Frun_hooks, Frun_hook_with_args_until_failure): Doc fix.
(Frun_hook_with_args_until_success, Frun_hook_with_args): Doc fix.
2001-11-01 20:48:30 +00:00
Pavel Janík
9dbc908170 (Fcommandp): Doc fix.
Change doc-string comments to `new style' [w/`doc:' keyword].
2001-10-31 15:09:35 +00:00
Miles Bader
f717af878f (Frun_hooks, Frun_hook_with_args, Frun_hook_with_args_until_failure)
(Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif, Fcond)
(Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun, Fdefmacro)
(Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch, Funwind_protect)
(Fcondition_case): Add usage: string to doc string.
2001-10-21 15:22:49 +00:00
Richard M. Stallman
04b905441b Clarify previous change. 2001-10-19 23:37:53 +00:00
Richard M. Stallman
875470a566 (syms_of_eval): Doc fixes. 2001-10-19 23:33:55 +00:00
Gerd Moellmann
19cebf5a64 (Fdefvaralias): New function.
(specbind): Simplify the test if symbol is a constant.
(syms_of_eval): Defsubr Fdefvaralias.
2001-10-05 09:46:11 +00:00
Gerd Moellmann
0967b4b07b (specbind): Additionally record the buffer that was
current when a buffer-local or frame-local variable was bound.
2001-07-05 09:25:36 +00:00
Gerd Moellmann
eb700b824d (specbind): If SYMBOL has a frame-local binding, record
the frame on the binding stack.  Change format of entries for
local bindings on the binding stack to '(SYMBOL . WHERE)'.
(unbind_to): Handle unbinding a frame-local variable.
2001-07-03 15:30:06 +00:00
Gerd Moellmann
9db6f6b460 (call_debugger): Don't bind inhibit-eval-during-redisplay. 2001-05-18 11:15:46 +00:00
Stefan Monnier
3356884957 (Fdefvar): Only record (defvar <var>) in the load-history
in <var> has no default value yet.
2001-05-14 20:53:03 +00:00
Gerd Moellmann
8efb6cc7ad (call_debugger): Bind `inhibit-redisplay' to nil, and
bind inhibit-eval-during-redisplay' to t.
2001-03-28 15:33:13 +00:00
Gerd Moellmann
eae0e1234a (specbind): Call store_symval_forwarding with BUF null. 2001-03-15 09:43:16 +00:00
Dave Love
80c8ab8c9b (syms_of_eval) <debug-on-error>: DOc fix. 2001-03-08 14:00:54 +00:00
Gerd Moellmann
df6c90d8de Use display_hourglass_p, start_hourglass, cancel_hourglass instead of
the old names.
2001-02-21 13:58:57 +00:00
Gerd Moellmann
e0f331ab4c (interactive_p): New function.
(Finteractive_p): Use it.
2001-01-31 14:48:31 +00:00
Gerd Moellmann
06bccf8e72 (specbind): If binding a per-buffer variable which
doesn't have a buffer-local value in the current buffer, change
the global value by changing the value of the symbol bound in all
buffers not having their own value, to make it consistent with
what happens with other buffer-local variables.
2001-01-18 13:21:51 +00:00