mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-09 05:01:02 -08:00
* 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.
This commit is contained in:
parent
f43cb64908
commit
3c3ddb9833
5 changed files with 15 additions and 10 deletions
|
|
@ -1742,7 +1742,7 @@ exec_byte_code (bytestr, vector, maxdepth, args_template, nargs, args)
|
|||
if (! VECTORP (vec))
|
||||
wrong_type_argument (Qvectorp, vec);
|
||||
else if (index < 0 || index >= XVECTOR (vec)->size)
|
||||
args_out_of_range (vec, index);
|
||||
args_out_of_range (vec, make_number (index));
|
||||
|
||||
if (op == Bvec_ref)
|
||||
PUSH (XVECTOR (vec)->contents[index]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue