aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorStefan Monnier2010-08-11 07:42:48 +0200
committerStefan Monnier2010-08-11 07:42:48 +0200
commitc566235d981eba73c88bbff00b6a1d88360b6e9f (patch)
treef8d653add3570fe750a83d1123ed35022e0bf4ef /src/eval.c
parent0bfdb86f425a88fe43ebc88851c6f9a6418e1862 (diff)
parent490b89acab3e759426ede25c31c94268df55e925 (diff)
downloademacs-c566235d981eba73c88bbff00b6a1d88360b6e9f.tar.gz
emacs-c566235d981eba73c88bbff00b6a1d88360b6e9f.zip
Merge from trunk
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c22
1 files changed, 4 insertions, 18 deletions
diff --git a/src/eval.c b/src/eval.c
index 940e52a4d0a..6d0a49c0d7e 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -66,7 +66,6 @@ Lisp_Object Qcurry;
66Lisp_Object Qinternal_interpreter_environment, Qclosure; 66Lisp_Object Qinternal_interpreter_environment, Qclosure;
67 67
68Lisp_Object Qdebug; 68Lisp_Object Qdebug;
69extern Lisp_Object Qinteractive_form;
70 69
71/* This holds either the symbol `run-hooks' or nil. 70/* This holds either the symbol `run-hooks' or nil.
72 It is nil at an early stage of startup, and when Emacs 71 It is nil at an early stage of startup, and when Emacs
@@ -176,9 +175,6 @@ int handling_signal;
176 175
177Lisp_Object Vmacro_declaration_function; 176Lisp_Object Vmacro_declaration_function;
178 177
179extern Lisp_Object Qrisky_local_variable;
180extern Lisp_Object Qfunction;
181
182static Lisp_Object funcall_lambda (Lisp_Object, int, Lisp_Object *, 178static Lisp_Object funcall_lambda (Lisp_Object, int, Lisp_Object *,
183 Lisp_Object); 179 Lisp_Object);
184static void unwind_to_catch (struct catchtag *, Lisp_Object) NO_RETURN; 180static void unwind_to_catch (struct catchtag *, Lisp_Object) NO_RETURN;
@@ -1707,8 +1703,6 @@ See also the function `condition-case'. */)
1707 That is a special case--don't do this in other situations. */ 1703 That is a special case--don't do this in other situations. */
1708 register struct handler *allhandlers = handlerlist; 1704 register struct handler *allhandlers = handlerlist;
1709 Lisp_Object conditions; 1705 Lisp_Object conditions;
1710 extern int gc_in_progress;
1711 extern int waiting_for_input;
1712 Lisp_Object string; 1706 Lisp_Object string;
1713 Lisp_Object real_error_symbol; 1707 Lisp_Object real_error_symbol;
1714 struct backtrace *bp; 1708 struct backtrace *bp;
@@ -3007,8 +3001,7 @@ call7 (Lisp_Object fn, Lisp_Object arg1, Lisp_Object arg2, Lisp_Object arg3,
3007 3001
3008DEFUN ("functionp", Ffunctionp, Sfunctionp, 1, 1, 0, 3002DEFUN ("functionp", Ffunctionp, Sfunctionp, 1, 1, 0,
3009 doc: /* Return non-nil if OBJECT is a type of object that can be called as a function. */) 3003 doc: /* Return non-nil if OBJECT is a type of object that can be called as a function. */)
3010 (object) 3004 (Lisp_Object object)
3011 Lisp_Object object;
3012{ 3005{
3013 if (SYMBOLP (object) && !NILP (Ffboundp (object))) 3006 if (SYMBOLP (object) && !NILP (Ffboundp (object)))
3014 { 3007 {
@@ -3258,10 +3251,7 @@ apply_lambda (Lisp_Object fun, Lisp_Object args, int eval_flag,
3258 length NARGS). */ 3251 length NARGS). */
3259 3252
3260static Lisp_Object 3253static Lisp_Object
3261funcall_funvec (fun, nargs, args) 3254funcall_funvec (Lisp_Object fun, int nargs, Lisp_Object *args)
3262 Lisp_Object fun;
3263 int nargs;
3264 Lisp_Object *args;
3265{ 3255{
3266 int size = FUNVEC_SIZE (fun); 3256 int size = FUNVEC_SIZE (fun);
3267 Lisp_Object tag = (size > 0 ? AREF (fun, 0) : Qnil); 3257 Lisp_Object tag = (size > 0 ? AREF (fun, 0) : Qnil);
@@ -3662,8 +3652,7 @@ DEFUN ("special-variable-p", Fspecial_variable_p, Sspecial_variable_p, 1, 1, 0,
3662 doc: /* Return non-nil if SYMBOL's global binding has been declared special. 3652 doc: /* Return non-nil if SYMBOL's global binding has been declared special.
3663A special variable is one that will be bound dynamically, even in a 3653A special variable is one that will be bound dynamically, even in a
3664context where binding is lexical by default. */) 3654context where binding is lexical by default. */)
3665 (symbol) 3655 (Lisp_Object symbol)
3666 Lisp_Object symbol;
3667{ 3656{
3668 CHECK_SYMBOL (symbol); 3657 CHECK_SYMBOL (symbol);
3669 return XSYMBOL (symbol)->declared_special ? Qt : Qnil; 3658 return XSYMBOL (symbol)->declared_special ? Qt : Qnil;
@@ -3683,9 +3672,7 @@ and:
3683 => ("The a" "The b" "The c") 3672 => ("The a" "The b" "The c")
3684 3673
3685usage: (curry FUN &rest ARGS) */) 3674usage: (curry FUN &rest ARGS) */)
3686 (nargs, args) 3675 (int nargs, Lisp_Object *args)
3687 register int nargs;
3688 Lisp_Object *args;
3689{ 3676{
3690 return make_funvec (Qcurry, 0, nargs, args); 3677 return make_funvec (Qcurry, 0, nargs, args);
3691} 3678}
@@ -3721,7 +3708,6 @@ Output stream used is value of `standard-output'. */)
3721 register int i; 3708 register int i;
3722 Lisp_Object tail; 3709 Lisp_Object tail;
3723 Lisp_Object tem; 3710 Lisp_Object tem;
3724 extern Lisp_Object Vprint_level;
3725 struct gcpro gcpro1; 3711 struct gcpro gcpro1;
3726 3712
3727 XSETFASTINT (Vprint_level, 3); 3713 XSETFASTINT (Vprint_level, 3);