Mercurial > hg > xemacs-beta
annotate lib-src/config.values.in @ 5784:0cb4f494a548
Have the result of coding_character_tell() reflect str->convert_to, too.
src/ChangeLog addition:
2014-01-22 Aidan Kehoe <kehoea@parhasard.net>
* text.c (buffered_bytecount_to_charcount): New.
Return the number of characters in a coding or lstream buffer,
including partial characters at the beginning of the buffer, but
not including those at the end. Refactored from
Lstream_character_tell().
* text.h:
* text.h (buffered_bytecount_to_charcount): Declare it.
* lstream.c (Lstream_character_tell):
Use the refactored buffered_bytecount_to_charcount () here, both
for the unget buffer and in_buffer.
* file-coding.c (coding_character_tell):
Check the character count of the lstream buffer too, when passing
back the character count from the coding stream.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Wed, 22 Jan 2014 17:52:00 +0000 |
parents | 772c80e0e180 |
children |
rev | line source |
---|---|
428 | 1 ;;; Do not edit this file! |
2 ;;; This file was automatically generated, by the config.values.sh script, | |
3 ;;; from configure, which was itself automatically generated from configure.in. | |
4 ;;; | |
556 | 5 ;;; See lisp/config.el for details on how this file is used. |
428 | 6 ;;; |
7 ;;; You are trapped in a twisty maze of strange-looking files, all autogenerated... | |
8 | |
9 ;;; configure is created, from configure.in, by autoconf | |
10 ;;; config.values.in is created, from configure, by config.values.sh | |
11 ;;; config.values is created, from config.values.in, by configure | |
556 | 12 ;;; config.values is read by lisp/config.el, |
428 | 13 ;;; to create the (Lisp object) config-value-hash-table |
14 | |
15 ;;; Variables defined in configure by AC_SUBST follow: | |
16 ;;; (These are used in Makefiles) | |
17 | |
18 | |
19 ;;; Variables defined in configure by AC_DEFINE and AC_DEFINE_UNQUOTED follow: | |
20 ;;; (These are used in C code) | |
21 |