summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-01-22 17:11:23 +0000
committerRichard M. Stallman <rms@gnu.org>1995-01-22 17:11:23 +0000
commitfb774cf7a884b4764766e616bc1270dcae8c2ef7 (patch)
tree0fa96f9660d0158c5f18bc453c611ab56f92b539
parent88d690a96e2d6547fe2aafc6e3a6a8215643ef0d (diff)
downloademacs-fb774cf7a884b4764766e616bc1270dcae8c2ef7.tar.gz
(read_minibuf): Don't print the prompt in batch 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)))