]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_minibuf): Don't print the prompt in batch mode.
authorRichard M. Stallman <rms@gnu.org>
Sun, 22 Jan 1995 17:11:23 +0000 (17:11 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 22 Jan 1995 17:11:23 +0000 (17:11 +0000)
src/minibuf.c

index 74cf3d79157eb2d61457e0ba0b6df8857c9b3abb..38dc33b2a2042737237b22a9df49023cdde57d64 100644 (file)
@@ -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)))