aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2012-01-25 13:55:01 +0800
committerChong Yidong2012-01-25 13:55:01 +0800
commit14af5f7fc4d7557ee712d3b6a8b46d9034c2ff39 (patch)
tree2551c79e5e10f80c99082649b4cf0739c1648c1e /src
parent0b21c100be8937efef4a5b51c67750c05cfe31e2 (diff)
downloademacs-14af5f7fc4d7557ee712d3b6a8b46d9034c2ff39.tar.gz
emacs-14af5f7fc4d7557ee712d3b6a8b46d9034c2ff39.zip
Merge from emacs-23 branch
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/coding.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f9236f159cd..cc149458e02 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12012-01-25 HIROSHI OOTA <nil@mad.dog.cx> (tiny change)
2
3 * coding.c (encode_designation_at_bol): Change return value to
4 EMACS_INT.
5
12012-01-25 Chong Yidong <cyd@gnu.org> 62012-01-25 Chong Yidong <cyd@gnu.org>
2 7
3 * eval.c (Fuser_variable_p): Doc fix; mention custom-variable-p. 8 * eval.c (Fuser_variable_p): Doc fix; mention custom-variable-p.
diff --git a/src/coding.c b/src/coding.c
index 5c3048f95e8..15e8572edb3 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -855,7 +855,7 @@ static void coding_alloc_by_making_gap (struct coding_system *,
855static unsigned char *alloc_destination (struct coding_system *, 855static unsigned char *alloc_destination (struct coding_system *,
856 EMACS_INT, unsigned char *); 856 EMACS_INT, unsigned char *);
857static void setup_iso_safe_charsets (Lisp_Object); 857static void setup_iso_safe_charsets (Lisp_Object);
858static int encode_designation_at_bol (struct coding_system *, 858static EMACS_INT encode_designation_at_bol (struct coding_system *,
859 int *, int *, unsigned char *); 859 int *, int *, unsigned char *);
860static int detect_eol (const unsigned char *, 860static int detect_eol (const unsigned char *,
861 EMACS_INT, enum coding_category); 861 EMACS_INT, enum coding_category);
@@ -4351,7 +4351,7 @@ encode_invocation_designation (struct charset *charset,
4351 If the current block ends before any end-of-line, we may fail to 4351 If the current block ends before any end-of-line, we may fail to
4352 find all the necessary designations. */ 4352 find all the necessary designations. */
4353 4353
4354static int 4354static EMACS_INT
4355encode_designation_at_bol (struct coding_system *coding, 4355encode_designation_at_bol (struct coding_system *coding,
4356 int *charbuf, int *charbuf_end, 4356 int *charbuf, int *charbuf_end,
4357 unsigned char *dst) 4357 unsigned char *dst)