From 84a99e734479c251660ea072e35ffe8d28b70b16 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 28 Mar 1995 22:27:56 +0000 Subject: [PATCH] (comint-read-noecho): Use a format string, in case PROMPT contains a percent sign. --- lisp/comint.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/comint.el b/lisp/comint.el index a056ba51ea0..6e35bc0f572 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -1400,8 +1400,8 @@ applications." (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) -- 2.39.5