From: Richard M. Stallman Date: Sun, 10 Feb 2008 14:01:52 +0000 (+0000) Subject: (ASET): Use AREF, not ASLOT. X-Git-Tag: emacs-pretest-23.0.90~8043 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e8455367a483819190a8cc21d24a2e6519ff7da4;p=emacs.git (ASET): Use AREF, not ASLOT. --- diff --git a/src/ChangeLog b/src/ChangeLog index b3ffe08f3ba..bb452e6a496 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-02-10 Richard Stallman + + * lisp.h (ASET): Use AREF, not ASLOT. + 2008-02-10 Stefan Monnier * lisp.h (ASET): Check bounds. diff --git a/src/lisp.h b/src/lisp.h index daa45d3aad8..a215abb34ee 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -594,7 +594,7 @@ extern size_t pure_size; #define ASET(ARRAY, IDX, VAL) \ (eassert ((IDX) == (IDX)), \ eassert ((IDX) >= 0 && (IDX) < ASIZE (ARRAY)), \ - ASLOT ((ARRAY), (IDX)) = (VAL)) + AREF ((ARRAY), (IDX)) = (VAL)) /* Convenience macros for dealing with Lisp strings. */