diff options
| author | Stefan Monnier | 2006-07-11 13:52:21 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2006-07-11 13:52:21 +0000 |
| commit | a0aa7fcfd817d220c5ecc2a82f70da67f949f9a5 (patch) | |
| tree | 12e1704bbeeb22a236e1a2da4b21593c46ef620f /src | |
| parent | 5f7c79f92974b72dd3c7b56d3a844b8bd27ca2cb (diff) | |
| download | emacs-a0aa7fcfd817d220c5ecc2a82f70da67f949f9a5.tar.gz emacs-a0aa7fcfd817d220c5ecc2a82f70da67f949f9a5.zip | |
(forw_comment): Also use EMACS_INT for buffer positions.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/syntax.c | 5 |
2 files changed, 9 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d9f914218e1..8a69f99cc48 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2006-07-11 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * syntax.c (forw_comment): Also use EMACS_INT for buffer positions. | ||
| 4 | |||
| 1 | 2006-07-11 Kim F. Storm <storm@cua.dk> | 5 | 2006-07-11 Kim F. Storm <storm@cua.dk> |
| 2 | 6 | ||
| 3 | * dispnew.c (Fredisplay): Add FORCE argument to force redisplay when | 7 | * dispnew.c (Fredisplay): Add FORCE argument to force redisplay when |
| @@ -11,8 +15,8 @@ | |||
| 11 | * dispnew.c (Fredisplay): New function, equivalent to (sit-for 0). | 15 | * dispnew.c (Fredisplay): New function, equivalent to (sit-for 0). |
| 12 | (Fsit_for): Function deleted. | 16 | (Fsit_for): Function deleted. |
| 13 | 17 | ||
| 14 | * keyboard.c (command_loop_1, Fexecute_extended_command): Call | 18 | * keyboard.c (command_loop_1, Fexecute_extended_command): |
| 15 | sit_for instead of Fsit_for. | 19 | Call sit_for instead of Fsit_for. |
| 16 | 20 | ||
| 17 | * minibuf.c (temp_echo_area_glyphs): Likewise. | 21 | * minibuf.c (temp_echo_area_glyphs): Likewise. |
| 18 | 22 | ||
diff --git a/src/syntax.c b/src/syntax.c index eb37cbb647f..fe458644caa 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -1891,9 +1891,10 @@ in_classes (c, iso_classes) | |||
| 1891 | static int | 1891 | static int |
| 1892 | forw_comment (from, from_byte, stop, nesting, style, prev_syntax, | 1892 | forw_comment (from, from_byte, stop, nesting, style, prev_syntax, |
| 1893 | charpos_ptr, bytepos_ptr, incomment_ptr) | 1893 | charpos_ptr, bytepos_ptr, incomment_ptr) |
| 1894 | int from, from_byte, stop; | 1894 | EMACS_INT from, from_byte, stop; |
| 1895 | int nesting, style, prev_syntax; | 1895 | int nesting, style, prev_syntax; |
| 1896 | int *charpos_ptr, *bytepos_ptr, *incomment_ptr; | 1896 | EMACS_INT *charpos_ptr, *bytepos_ptr; |
| 1897 | int *incomment_ptr; | ||
| 1897 | { | 1898 | { |
| 1898 | register int c, c1; | 1899 | register int c, c1; |
| 1899 | register enum syntaxcode code; | 1900 | register enum syntaxcode code; |