diff options
| author | Dmitry Antipov | 2012-06-19 20:56:28 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-06-19 20:56:28 +0400 |
| commit | 28be1ada0fb9a4b51cf361dc45208e764bd34143 (patch) | |
| tree | 30a21470e485d1d9f397d97dcb9a386c578ab746 /src/alloc.c | |
| parent | 68f12411893785de1cfc2c24ec36059e49af5d55 (diff) | |
| download | emacs-28be1ada0fb9a4b51cf361dc45208e764bd34143.tar.gz emacs-28be1ada0fb9a4b51cf361dc45208e764bd34143.zip | |
* alloc.c, bytecode.c, ccl.c, coding.c, composite.c, data.c, dosfns.c:
* font.c, image.c, keyboard.c, lread.c, menu.c, minibuf.c, msdos.c:
* print.c, syntax.c, window.c, xmenu.c, xselect.c: Replace direct
access to `contents' member of Lisp_Vector objects with AREF and ASET
where appropriate.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index 5c6297faae5..7af3b17078e 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -5294,7 +5294,7 @@ Does not copy symbols. Copies strings without text properties. */) | |||
| 5294 | size &= PSEUDOVECTOR_SIZE_MASK; | 5294 | size &= PSEUDOVECTOR_SIZE_MASK; |
| 5295 | vec = XVECTOR (make_pure_vector (size)); | 5295 | vec = XVECTOR (make_pure_vector (size)); |
| 5296 | for (i = 0; i < size; i++) | 5296 | for (i = 0; i < size; i++) |
| 5297 | vec->contents[i] = Fpurecopy (XVECTOR (obj)->contents[i]); | 5297 | vec->contents[i] = Fpurecopy (AREF (obj, i)); |
| 5298 | if (COMPILEDP (obj)) | 5298 | if (COMPILEDP (obj)) |
| 5299 | { | 5299 | { |
| 5300 | XSETPVECTYPE (vec, PVEC_COMPILED); | 5300 | XSETPVECTYPE (vec, PVEC_COMPILED); |