1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

(comint-read-noecho): Use a format string, in case

PROMPT contains a percent sign.
This commit is contained in:
Karl Heuer 1995-03-28 22:27:56 +00:00
parent 49f82b3d1a
commit 84a99e7344

View File

@ -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)