summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/minibuf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index 74cf3d79157..38dc33b2a20 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -140,10 +140,6 @@ read_minibuf (map, initial, prompt, backup_n, expflag, histvar, histpos)
if (!STRINGP (prompt))
prompt = build_string ("");
- /* Emacs in -batch mode calls minibuffer: print the prompt. */
- if (noninteractive && STRINGP (prompt))
- printf ("%s", XSTRING (prompt)->data);
-
if (!enable_recursive_minibuffers
&& minibuf_level > 0
&& (EQ (selected_window, minibuf_window)))