diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-02-08 16:24:46 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-02-08 16:24:46 +0000 |
commit | dfae5f9a1256e8d9243dc0d0550cb58a4c079cdc (patch) | |
tree | 1067e8526236f4afab0fa4b8d48b9035d70190cf /src/xfaces.c | |
parent | 9141ca5e7dd56c6ac375fd41238dfd6e9683917b (diff) | |
download | emacs-dfae5f9a1256e8d9243dc0d0550cb58a4c079cdc.tar.gz |
* xfaces.c (Finternal_make_lisp_face): Use ASET.
Diffstat (limited to 'src/xfaces.c')
-rw-r--r-- | src/xfaces.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index c00dade631b..f980f2d2d1f 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -4101,7 +4101,7 @@ Value is a vector of face attributes. */) { global_lface = Fmake_vector (make_number (LFACE_VECTOR_SIZE), Qunspecified); - AREF (global_lface, 0) = Qface; + ASET (global_lface, 0, Qface); Vface_new_frame_defaults = Fcons (Fcons (face, global_lface), Vface_new_frame_defaults); @@ -4123,7 +4123,7 @@ Value is a vector of face attributes. */) } else if (f == NULL) for (i = 1; i < LFACE_VECTOR_SIZE; ++i) - AREF (global_lface, i) = Qunspecified; + ASET (global_lface, i, Qunspecified); /* Add a frame-local definition. */ if (f) @@ -4132,12 +4132,12 @@ Value is a vector of face attributes. */) { lface = Fmake_vector (make_number (LFACE_VECTOR_SIZE), Qunspecified); - AREF (lface, 0) = Qface; + ASET (lface, 0, Qface); f->face_alist = Fcons (Fcons (face, lface), f->face_alist); } else for (i = 1; i < LFACE_VECTOR_SIZE; ++i) - AREF (lface, i) = Qunspecified; + ASET (lface, i, Qunspecified); } else lface = global_lface; |