aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raeburn2000-08-08 14:34:05 +0000
committerKen Raeburn2000-08-08 14:34:05 +0000
commit975f250a8eda55ea305e8568152c50d9cc8fadeb (patch)
tree023f1f5f37b5afc1fc7bcfe4b77393ab55f7aa86
parent4245f3d2ec7db04ac8b0bb7b749a818d182ca917 (diff)
downloademacs-975f250a8eda55ea305e8568152c50d9cc8fadeb.tar.gz
emacs-975f250a8eda55ea305e8568152c50d9cc8fadeb.zip
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
(Ffind_coding_systems_region_internal): First argument to Fappend must be an integer, not a lisp object.
-rw-r--r--src/ChangeLog7
-rw-r--r--src/coding.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 404eadb3b34..b1a2b6aca82 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12000-08-08 Ken Raeburn <raeburn@gnu.org>
2
3 * coding.c (find_safe_codings): CHAR_TABLE_SET index must be a
4 lisp object.
5 (Ffind_coding_systems_region_internal): First argument to Fappend
6 must be an integer, not a lisp object.
7
12000-08-08 Kenichi Handa <handa@etl.go.jp> 82000-08-08 Kenichi Handa <handa@etl.go.jp>
2 9
3 * charset.c (Fchar_width): Doc fix. 10 * charset.c (Fchar_width): Doc fix.
diff --git a/src/coding.c b/src/coding.c
index 6b8f9297dc0..5b44a9e035a 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -5623,7 +5623,7 @@ find_safe_codings (p, pend, safe_codings, work_table, single_byte_char_found)
5623 /* This element was already checked. Ignore it. */ 5623 /* This element was already checked. Ignore it. */
5624 continue; 5624 continue;
5625 /* Remember that we checked this element. */ 5625 /* Remember that we checked this element. */
5626 CHAR_TABLE_SET (work_table, idx, Qt); 5626 CHAR_TABLE_SET (work_table, make_number (idx), Qt);
5627 5627
5628 /* If there are some safe coding systems for C and we have 5628 /* If there are some safe coding systems for C and we have
5629 already found the other set of coding systems for the 5629 already found the other set of coding systems for the
@@ -5713,7 +5713,7 @@ DEFUN ("find-coding-systems-region-internal",
5713 args[0] = safe_codings; 5713 args[0] = safe_codings;
5714 args[1] = Fchar_table_extra_slot (Vchar_coding_system_table, 5714 args[1] = Fchar_table_extra_slot (Vchar_coding_system_table,
5715 make_number (0)); 5715 make_number (0));
5716 safe_codings = Fappend (make_number (2), args); 5716 safe_codings = Fappend (2, args);
5717 } 5717 }
5718 else 5718 else
5719 safe_codings = Fcons (Qraw_text, Fcons (Qemacs_mule, safe_codings)); 5719 safe_codings = Fcons (Qraw_text, Fcons (Qemacs_mule, safe_codings));