comparison src/ChangeLog @ 91807:507bcfb4342c

* coding.c (coding_set_destination): Use BEG_BYTE rather than hardcoding 1. (detect_coding_system): * lisp.h (detect_coding_system, chars_in_text, multibyte_chars_in_text) (string_char_to_byte, string_byte_to_char, insert_from_gap): * insdel.c (insert_from_gap): * fns.c (string_char_byte_cache_charpos, string_char_byte_cache_bytepos) (string_char_to_byte, string_byte_to_char, string_make_multibyte) (string_to_multibyte): * character.c (chars_in_text, multibyte_chars_in_text): * fileio.c (Finsert_file_contents): Use EMACS_INT for buffer positions.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 12 Feb 2008 21:35:15 +0000
parents c330bf7419fd
children 3ef9dcc38460
comparison
equal deleted inserted replaced
91806:6c0a55931b1c 91807:507bcfb4342c
1 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca> 1 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * coding.c (coding_set_destination): Use BEG_BYTE rather than hardcoding 1.
4 (detect_coding_system):
5 * lisp.h (detect_coding_system, chars_in_text, multibyte_chars_in_text)
6 (string_char_to_byte, string_byte_to_char, insert_from_gap):
7 * insdel.c (insert_from_gap):
8 * fns.c (string_char_byte_cache_charpos, string_char_byte_cache_bytepos)
9 (string_char_to_byte, string_byte_to_char, string_make_multibyte)
10 (string_to_multibyte):
11 * character.c (chars_in_text, multibyte_chars_in_text):
12 * fileio.c (Finsert_file_contents): Use EMACS_INT for buffer positions.
2 13
3 * character.h (FETCH_STRING_CHAR_ADVANCE) 14 * character.h (FETCH_STRING_CHAR_ADVANCE)
4 (FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE) 15 (FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE)
5 (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA and SREF. 16 (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA and SREF.
6 (DEC_POS, BUF_DEC_POS): Use BEG_BYTE rather than hardcoding 1. 17 (DEC_POS, BUF_DEC_POS): Use BEG_BYTE rather than hardcoding 1.