changeset 10521:6cf668004235

(read_minibuf): Don't print the prompt in batch mode.
author Richard M. Stallman <rms@gnu.org>
date Sun, 22 Jan 1995 17:11:23 +0000
parents 3d30caa4b459
children dd97fd55e095
files src/minibuf.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/minibuf.c	Sun Jan 22 16:47:10 1995 +0000
+++ b/src/minibuf.c	Sun Jan 22 17:11:23 1995 +0000
@@ -140,10 +140,6 @@
   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)))