diff options
| author | Andreas Schwab | 2009-11-21 11:52:23 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2009-11-21 11:52:23 +0000 |
| commit | 62a6e103dd7b9d940565639d6a47c8bdee3f24ce (patch) | |
| tree | 0e2ab8777e97932d73a91e328683bef10dbf7c8d /src/buffer.h | |
| parent | c3b616a940d9dab7f8fe4376755a8a8f9a2ba290 (diff) | |
| download | emacs-62a6e103dd7b9d940565639d6a47c8bdee3f24ce.tar.gz 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/buffer.h')
| -rw-r--r-- | src/buffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.h b/src/buffer.h index 2a04f49ea48..9f57a292053 100644 --- a/src/buffer.h +++ b/src/buffer.h | |||
| @@ -330,7 +330,7 @@ extern unsigned char *_fetch_multibyte_char_p; | |||
| 330 | #define FETCH_MULTIBYTE_CHAR(pos) \ | 330 | #define FETCH_MULTIBYTE_CHAR(pos) \ |
| 331 | (_fetch_multibyte_char_p = (((pos) >= GPT_BYTE ? GAP_SIZE : 0) \ | 331 | (_fetch_multibyte_char_p = (((pos) >= GPT_BYTE ? GAP_SIZE : 0) \ |
| 332 | + (pos) + BEG_ADDR - BEG_BYTE), \ | 332 | + (pos) + BEG_ADDR - BEG_BYTE), \ |
| 333 | STRING_CHAR (_fetch_multibyte_char_p, 0)) | 333 | STRING_CHAR (_fetch_multibyte_char_p)) |
| 334 | 334 | ||
| 335 | /* Return character at position POS. If the current buffer is unibyte | 335 | /* Return character at position POS. If the current buffer is unibyte |
| 336 | and the character is not ASCII, make the returning character | 336 | and the character is not ASCII, make the returning character |
| @@ -389,7 +389,7 @@ extern unsigned char *_fetch_multibyte_char_p; | |||
| 389 | (_fetch_multibyte_char_p \ | 389 | (_fetch_multibyte_char_p \ |
| 390 | = (((pos) >= BUF_GPT_BYTE (buf) ? BUF_GAP_SIZE (buf) : 0) \ | 390 | = (((pos) >= BUF_GPT_BYTE (buf) ? BUF_GAP_SIZE (buf) : 0) \ |
| 391 | + (pos) + BUF_BEG_ADDR (buf) - BEG_BYTE), \ | 391 | + (pos) + BUF_BEG_ADDR (buf) - BEG_BYTE), \ |
| 392 | STRING_CHAR (_fetch_multibyte_char_p, 0)) | 392 | STRING_CHAR (_fetch_multibyte_char_p)) |
| 393 | 393 | ||
| 394 | /* Define the actual buffer data structures. */ | 394 | /* Define the actual buffer data structures. */ |
| 395 | 395 | ||