Commit 5f392605 authored by Glenn Morris's avatar Glenn Morris

* lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Pass format to message.

parent a291f624
Pipeline #158 passed with stage
in 25 minutes and 8 seconds
......@@ -254,7 +254,9 @@ the current %s and exit."
;; Clear the last prompt from the minibuffer, and restore the
;; previous echo-area message, if any.
(let ((message-log-max nil))
(message (or msg "")))
(if msg
(message "%s" msg)
(message "")))
;; Return the number of actions that were taken.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment