diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-09-04 03:34:04 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-09-04 03:34:04 +0000 |
commit | 2f2c4b7dd84cc36a6fbb2af2c9d4fde0b387cca4 (patch) | |
tree | 90fd8c7903b3e0733a648c273792e0e1f871e90b /src/insdel.c | |
parent | bb9fe01f03ea95f5507cbbef05d3c29db13d8d41 (diff) | |
download | emacs-2f2c4b7dd84cc36a6fbb2af2c9d4fde0b387cca4.tar.gz |
(prepare_to_modify_buffer): Take integer arguments.
(signal_before_change): Take integer arguments.
Diffstat (limited to 'src/insdel.c')
-rw-r--r-- | src/insdel.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/insdel.c b/src/insdel.c index 9f505361cc0..56ae6535c00 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -739,7 +739,7 @@ modify_region (buffer, start, end) void prepare_to_modify_buffer (start, end) - Lisp_Object start, end; + int start, end; { if (!NILP (current_buffer->read_only)) Fbarf_if_buffer_read_only (); @@ -779,13 +779,17 @@ prepare_to_modify_buffer (start, end) } /* Signal a change to the buffer immediately before it happens. - START and END are the bounds of the text to be changed, - as Lisp objects. */ + START_INT and END_INT are the bounds of the text to be changed. */ void signal_before_change (start, end) - Lisp_Object start, end; + int start_int, end_end; { + Lisp_Object start, end; + + start = make_number (start_int); + end = make_number (end_int); + /* If buffer is unmodified, run a special hook for that case. */ if (SAVE_MODIFF >= MODIFF && !NILP (Vfirst_change_hook) |