From fb774cf7a884b4764766e616bc1270dcae8c2ef7 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 22 Jan 1995 17:11:23 +0000 Subject: [PATCH] (read_minibuf): Don't print the prompt in batch mode. --- src/minibuf.c | 4 ---- 1 file changed, 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))) -- 2.11.4.GIT