summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dispnew.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 953527b4377..bc79d41463b 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -2432,8 +2432,6 @@ Value is t if waited the full time with no input arriving.")
error ("millisecond `sit-for' not supported on %s", SYSTEM_TYPE);
#endif
- if (NILP (nodisp))
- prepare_menu_bars ();
return sit_for (sec, usec, 0, NILP (nodisp));
}