aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorDmitry Antipov2012-06-19 20:56:28 +0400
committerDmitry Antipov2012-06-19 20:56:28 +0400
commit28be1ada0fb9a4b51cf361dc45208e764bd34143 (patch)
tree30a21470e485d1d9f397d97dcb9a386c578ab746 /src/coding.c
parent68f12411893785de1cfc2c24ec36059e49af5d55 (diff)
downloademacs-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/coding.c')
-rw-r--r--src/coding.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/coding.c b/src/coding.c
index 64826ae16b9..b0359b89cb5 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -3189,7 +3189,7 @@ detect_coding_iso_2022 (struct coding_system *coding,
3189 break; 3189 break;
3190 check_extra_latin: 3190 check_extra_latin:
3191 if (! VECTORP (Vlatin_extra_code_table) 3191 if (! VECTORP (Vlatin_extra_code_table)
3192 || NILP (XVECTOR (Vlatin_extra_code_table)->contents[c])) 3192 || NILP (AREF (Vlatin_extra_code_table, c)))
3193 { 3193 {
3194 rejected = CATEGORY_MASK_ISO; 3194 rejected = CATEGORY_MASK_ISO;
3195 break; 3195 break;
@@ -5464,7 +5464,7 @@ detect_coding_charset (struct coding_system *coding,
5464 if (c < 0xA0 5464 if (c < 0xA0
5465 && check_latin_extra 5465 && check_latin_extra
5466 && (!VECTORP (Vlatin_extra_code_table) 5466 && (!VECTORP (Vlatin_extra_code_table)
5467 || NILP (XVECTOR (Vlatin_extra_code_table)->contents[c]))) 5467 || NILP (AREF (Vlatin_extra_code_table, c))))
5468 break; 5468 break;
5469 found = CATEGORY_MASK_CHARSET; 5469 found = CATEGORY_MASK_CHARSET;
5470 } 5470 }
@@ -10560,7 +10560,7 @@ Don't modify this variable directly, but use `set-coding-system-priority'. */);
10560 Vcoding_category_list = Qnil; 10560 Vcoding_category_list = Qnil;
10561 for (i = coding_category_max - 1; i >= 0; i--) 10561 for (i = coding_category_max - 1; i >= 0; i--)
10562 Vcoding_category_list 10562 Vcoding_category_list
10563 = Fcons (XVECTOR (Vcoding_category_table)->contents[i], 10563 = Fcons (AREF (Vcoding_category_table, i),
10564 Vcoding_category_list); 10564 Vcoding_category_list);
10565 } 10565 }
10566 10566