changeset 11147:8c896f45f888

(comint-read-noecho): Use a format string, in case PROMPT contains a percent sign.
author Karl Heuer <kwzh@gnu.org>
date Tue, 28 Mar 1995 22:27:56 +0000
parents 9a14b32f5d71
children 117b32676686
files lisp/comint.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/comint.el	Tue Mar 28 17:43:24 1995 +0000
+++ b/lisp/comint.el	Tue Mar 28 22:27:56 1995 +0000
@@ -1400,8 +1400,8 @@
         (done nil))
     (while (not done)
       (if stars
-          (message "%s%s" prompt (make-string (length ans) ?*))
-        (message prompt))
+	  (message "%s%s" prompt (make-string (length ans) ?*))
+	(message "%s" prompt))
       ;; Use this instead of `read-char' to avoid "Non-character input-event".
       (setq c (read-char-exclusive))
       (cond ((= c ?\C-g)