mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-30 11:09:23 +00:00
* insdel.c (make_gap_smaller): Define only if
USE_MMAP_FOR_BUFFERS || REL_ALLOC || DOUG_LEA_MALLOC.
This commit is contained in:
parent
cad5903248
commit
b58c5c4af7
@ -1,5 +1,8 @@
|
||||
2011-04-16 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* insdel.c (make_gap_smaller): Define only if
|
||||
USE_MMAP_FOR_BUFFERS || REL_ALLOC || DOUG_LEA_MALLOC.
|
||||
|
||||
* keyboard.c (read_char): Make a var volatile so longjmp won't clobber
|
||||
it.
|
||||
|
||||
|
@ -442,6 +442,7 @@ make_gap_larger (EMACS_INT nbytes_added)
|
||||
Vinhibit_quit = tem;
|
||||
}
|
||||
|
||||
#if defined USE_MMAP_FOR_BUFFERS || defined REL_ALLOC || defined DOUG_LEA_MALLOC
|
||||
|
||||
/* Make the gap NBYTES_REMOVED bytes shorter. */
|
||||
|
||||
@ -501,6 +502,8 @@ make_gap_smaller (EMACS_INT nbytes_removed)
|
||||
Vinhibit_quit = tem;
|
||||
}
|
||||
|
||||
#endif /* USE_MMAP_FOR_BUFFERS || REL_ALLOC || DOUG_LEA_MALLOC */
|
||||
|
||||
void
|
||||
make_gap (EMACS_INT nbytes_added)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user