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:
parent
49f82b3d1a
commit
84a99e7344
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user