* src/xdisp.c (block_buffer_flips, unblock_buffer_flips): Now static.
This commit is contained in:
parent
8a147fb246
commit
ebe2e69c8f
2 changed files with 7 additions and 7 deletions
|
@ -3356,9 +3356,7 @@ void x_cr_init_fringe (struct redisplay_interface *);
|
|||
|
||||
extern unsigned row_hash (struct glyph_row *);
|
||||
|
||||
extern void block_buffer_flips(void);
|
||||
extern void unblock_buffer_flips(void);
|
||||
extern bool buffer_flipping_blocked_p(void);
|
||||
extern bool buffer_flipping_blocked_p (void);
|
||||
|
||||
/* Defined in image.c */
|
||||
|
||||
|
|
10
src/xdisp.c
10
src/xdisp.c
|
@ -818,6 +818,8 @@ static void iterate_out_of_display_property (struct it *);
|
|||
static void pop_it (struct it *);
|
||||
static void redisplay_internal (void);
|
||||
static void echo_area_display (bool);
|
||||
static void block_buffer_flips (void);
|
||||
static void unblock_buffer_flips (void);
|
||||
static void redisplay_windows (Lisp_Object);
|
||||
static void redisplay_window (Lisp_Object, bool);
|
||||
static Lisp_Object redisplay_window_error (Lisp_Object);
|
||||
|
@ -14477,15 +14479,15 @@ disp_char_vector (struct Lisp_Char_Table *dp, int c)
|
|||
|
||||
static int buffer_flip_blocked_depth;
|
||||
|
||||
void
|
||||
block_buffer_flips(void)
|
||||
static void
|
||||
block_buffer_flips (void)
|
||||
{
|
||||
eassert (buffer_flip_blocked_depth >= 0);
|
||||
buffer_flip_blocked_depth++;
|
||||
}
|
||||
|
||||
void
|
||||
unblock_buffer_flips(void)
|
||||
static void
|
||||
unblock_buffer_flips (void)
|
||||
{
|
||||
eassert (buffer_flip_blocked_depth > 0);
|
||||
if (--buffer_flip_blocked_depth == 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue