diff options
| author | Stefan Monnier | 2010-06-14 22:51:25 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2010-06-14 22:51:25 -0400 |
| commit | 3c3ddb9833996729545bb4909bea359e5dbaa02e (patch) | |
| tree | e128f878a1ef7b7bd3217ff2c0fb664feb6dffbb /src/eval.c | |
| parent | f43cb6490878cb8f1dcb7e45044bc635f54d5951 (diff) | |
| download | emacs-3c3ddb9833996729545bb4909bea359e5dbaa02e.tar.gz emacs-3c3ddb9833996729545bb4909bea359e5dbaa02e.zip | |
* lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
Don't macroexpand before evaluating in eval-and-compile, in case
`body's macro expansion uses macros and functions defined in itself.
* src/bytecode.c (exec_byte_code):
* src/eval.c (Ffunctionp): Fix up int/Lisp_Object confusions.
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/eval.c b/src/eval.c index 875b4498a61..71a0b111849 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -62,7 +62,7 @@ Lisp_Object Qinhibit_quit, Vinhibit_quit, Vquit_flag; | |||
| 62 | Lisp_Object Qand_rest, Qand_optional; | 62 | Lisp_Object Qand_rest, Qand_optional; |
| 63 | Lisp_Object Qdebug_on_error; | 63 | Lisp_Object Qdebug_on_error; |
| 64 | Lisp_Object Qdeclare; | 64 | Lisp_Object Qdeclare; |
| 65 | Lisp_Object Qcurry, Qunevalled; | 65 | Lisp_Object Qcurry; |
| 66 | Lisp_Object Qinternal_interpreter_environment, Qclosure; | 66 | Lisp_Object Qinternal_interpreter_environment, Qclosure; |
| 67 | 67 | ||
| 68 | Lisp_Object Qdebug; | 68 | Lisp_Object Qdebug; |
| @@ -3109,7 +3109,7 @@ DEFUN ("functionp", Ffunctionp, Sfunctionp, 1, 1, 0, | |||
| 3109 | } | 3109 | } |
| 3110 | 3110 | ||
| 3111 | if (SUBRP (object)) | 3111 | if (SUBRP (object)) |
| 3112 | return (XSUBR (object)->max_args != Qunevalled) ? Qt : Qnil; | 3112 | return (XSUBR (object)->max_args != UNEVALLED) ? Qt : Qnil; |
| 3113 | else if (FUNVECP (object)) | 3113 | else if (FUNVECP (object)) |
| 3114 | return Qt; | 3114 | return Qt; |
| 3115 | else if (CONSP (object)) | 3115 | else if (CONSP (object)) |
| @@ -4002,9 +4002,6 @@ before making `inhibit-quit' nil. */); | |||
| 4002 | Qcurry = intern_c_string ("curry"); | 4002 | Qcurry = intern_c_string ("curry"); |
| 4003 | staticpro (&Qcurry); | 4003 | staticpro (&Qcurry); |
| 4004 | 4004 | ||
| 4005 | Qunevalled = intern_c_string ("unevalled"); | ||
| 4006 | staticpro (&Qunevalled); | ||
| 4007 | |||
| 4008 | Qdebug = intern_c_string ("debug"); | 4005 | Qdebug = intern_c_string ("debug"); |
| 4009 | staticpro (&Qdebug); | 4006 | staticpro (&Qdebug); |
| 4010 | 4007 | ||