diff options
| author | Eli Zaretskii | 2010-09-24 15:30:13 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2010-09-24 15:30:13 -0400 |
| commit | 5816888b23238706d35d9d6e094c24866dedf2c6 (patch) | |
| tree | 3f2a3ad6fa165c8e8aeb7675cda07d5ab15b490b /src/buffer.c | |
| parent | 07914cd0078f3d8dc720644fd899ce8e3f0b1913 (diff) | |
| download | emacs-5816888b23238706d35d9d6e094c24866dedf2c6.tar.gz emacs-5816888b23238706d35d9d6e094c24866dedf2c6.zip | |
Fix int/EMACS_INT in eval.c and indent.c, correct previous changes.
indent.c (Fcurrent_indentation, indented_beyond_p)
(compute_motion): Use EMACS_INT for buffer position variables.
lisp.h (indented_beyond_p): Adjust prototype.
buffer.c (overlay_strings): Return EMACS_INT.
buffer.h (overlay_strings): Adjust prototype.
region-cache.c (pp_cache): Adjust format to arguments.
eval.c <specpdl_size, lisp_eval_depth>: Declare EMACS_INT.
(call_debugger): Use EMACS_INT for specpdl_size related variables.
(verror): Use EMACS_INT for size of allocated buffer.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index 7ac00aa25b4..3f087d62a5f 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -3134,7 +3134,7 @@ record_overlay_string (struct sortstrlist *ssl, Lisp_Object str, Lisp_Object str | |||
| 3134 | PSTR, if that variable is non-null. The string may be overwritten by | 3134 | PSTR, if that variable is non-null. The string may be overwritten by |
| 3135 | subsequent calls. */ | 3135 | subsequent calls. */ |
| 3136 | 3136 | ||
| 3137 | int | 3137 | EMACS_INT |
| 3138 | overlay_strings (EMACS_INT pos, struct window *w, unsigned char **pstr) | 3138 | overlay_strings (EMACS_INT pos, struct window *w, unsigned char **pstr) |
| 3139 | { | 3139 | { |
| 3140 | Lisp_Object overlay, window, str; | 3140 | Lisp_Object overlay, window, str; |