diff options
author | Miles Bader <miles@gnu.org> | 2007-10-15 05:03:21 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2007-10-15 05:03:21 +0000 |
commit | 63655c83146b773b4ef3d9220b4a9d61545fd050 (patch) | |
tree | 2161d262bba2c99b0db2ed8b322eddcafeadd247 /src/ccl.c | |
parent | ce8f7ca45fabe11ce32a9ced2b8e7c1987c0d997 (diff) | |
parent | b2529d56b5126319a1659dc1530d6fc102cc21d6 (diff) | |
download | emacs-63655c83146b773b4ef3d9220b4a9d61545fd050.tar.gz |
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 887-889)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 116-121)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-268
Diffstat (limited to 'src/ccl.c')
-rw-r--r-- | src/ccl.c | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/src/ccl.c b/src/ccl.c index d51743c243a..5e4a6632d1d 100644 --- a/src/ccl.c +++ b/src/ccl.c @@ -2245,16 +2245,8 @@ Return index number of the registered CCL program. */) } if (idx == len) - { - /* Extend the table. */ - Lisp_Object new_table; - int j; - - new_table = Fmake_vector (make_number (len * 2), Qnil); - for (j = 0; j < len; j++) - ASET (new_table, j, AREF (Vccl_program_table, j)); - Vccl_program_table = new_table; - } + /* Extend the table. */ + Vccl_program_table = larger_vector (Vccl_program_table, len * 2, Qnil); { Lisp_Object elt; @@ -2313,15 +2305,8 @@ Return index number of the registered map. */) } if (i == len) - { - Lisp_Object new_vector = Fmake_vector (make_number (len * 2), Qnil); - int j; - - for (j = 0; j < len; j++) - AREF (new_vector, j) - = AREF (Vcode_conversion_map_vector, j); - Vcode_conversion_map_vector = new_vector; - } + Vcode_conversion_map_vector = larger_vector (Vcode_conversion_map_vector, + len * 2, Qnil); index = make_number (i); Fput (symbol, Qcode_conversion_map, map); |