Skip to content

Commit

Permalink
Remove resync_redisplay regression
Browse files Browse the repository at this point in the history
* src/search.c (isearch): modified
* src/completion.c (completion_scroll_up, completion_scroll_down): modified
  • Loading branch information
spk121 committed Feb 2, 2013
1 parent 0f4bef7 commit 23dfe14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/completion.c
Expand Up @@ -113,7 +113,7 @@ completion_scroll_up (void)
if (!scm_is_true (G_scroll_up (scm_from_int(1))))
{
G_beginning_of_buffer ();
resync_redisplay (cur_wp);
//resync_redisplay (cur_wp);
}
set_current_window (old_wp);

Expand All @@ -133,7 +133,7 @@ completion_scroll_down (void)
if (!scm_is_true (G_scroll_down (scm_from_int (1))))
{
G_end_of_buffer ();
resync_redisplay (cur_wp);
//resync_redisplay (cur_wp);
}
set_current_window (old_wp);

Expand Down
2 changes: 1 addition & 1 deletion src/search.c
Expand Up @@ -293,7 +293,7 @@ isearch (int forward, int regexp)

if (thisflag & FLAG_NEED_RESYNC)
{
resync_redisplay (cur_wp);
//resync_redisplay (cur_wp);
term_redisplay ();
}
}
Expand Down

0 comments on commit 23dfe14

Please sign in to comment.