diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2009-11-21 11:52:23 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2009-11-21 11:52:23 +0000 |
commit | 62a6e103dd7b9d940565639d6a47c8bdee3f24ce (patch) | |
tree | 0e2ab8777e97932d73a91e328683bef10dbf7c8d /src/lread.c | |
parent | c3b616a940d9dab7f8fe4376755a8a8f9a2ba290 (diff) | |
download | emacs-62a6e103dd7b9d940565639d6a47c8bdee3f24ce.tar.gz emacs-62a6e103dd7b9d940565639d6a47c8bdee3f24ce.tar.bz2 emacs-62a6e103dd7b9d940565639d6a47c8bdee3f24ce.zip |
* character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove
ignored second argument. All callers changed.
* regex.c (STRING_CHAR, STRING_CHAR_AND_LENGTH, RE_STRING_CHAR)
(RE_STRING_CHAR_AND_LENGTH): Likewise.
* xdisp.c (string_char_and_length): Likewise.
Diffstat (limited to 'src/lread.c')
-rw-r--r-- | src/lread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lread.c b/src/lread.c index c565ce9fd5d..97b9410b038 100644 --- a/src/lread.c +++ b/src/lread.c @@ -303,7 +303,7 @@ readchar (readcharfun, multibyte) /* Fetch the character code from the buffer. */ unsigned char *p = BUF_BYTE_ADDRESS (inbuffer, pt_byte); BUF_INC_POS (inbuffer, pt_byte); - c = STRING_CHAR (p, pt_byte - orig_pt_byte); + c = STRING_CHAR (p); if (multibyte) *multibyte = 1; } @@ -332,7 +332,7 @@ readchar (readcharfun, multibyte) /* Fetch the character code from the buffer. */ unsigned char *p = BUF_BYTE_ADDRESS (inbuffer, bytepos); BUF_INC_POS (inbuffer, bytepos); - c = STRING_CHAR (p, bytepos - orig_bytepos); + c = STRING_CHAR (p); if (multibyte) *multibyte = 1; } @@ -439,7 +439,7 @@ readchar (readcharfun, multibyte) } buf[i++] = c; } - return STRING_CHAR (buf, i); + return STRING_CHAR (buf); } /* Unread the character C in the way appropriate for the stream READCHARFUN. |