diff options
| author | Glenn Morris | 2018-11-27 08:24:33 -0800 |
|---|---|---|
| committer | Glenn Morris | 2018-11-27 08:24:33 -0800 |
| commit | 5f3926053eaebc8ebff696abfd5a8d4365d8671d (patch) | |
| tree | d43bdf07056529822373d44bc1b7b7453549175c | |
| parent | a291f624289bd2009b7fa230d62b5940e0484c83 (diff) | |
| download | emacs-5f3926053eaebc8ebff696abfd5a8d4365d8671d.tar.gz emacs-5f3926053eaebc8ebff696abfd5a8d4365d8671d.zip | |
* lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Pass format to message.
| -rw-r--r-- | lisp/emacs-lisp/map-ynp.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/map-ynp.el b/lisp/emacs-lisp/map-ynp.el index 93235bd9ece..5b1786af512 100644 --- a/lisp/emacs-lisp/map-ynp.el +++ b/lisp/emacs-lisp/map-ynp.el | |||
| @@ -254,7 +254,9 @@ the current %s and exit." | |||
| 254 | ;; Clear the last prompt from the minibuffer, and restore the | 254 | ;; Clear the last prompt from the minibuffer, and restore the |
| 255 | ;; previous echo-area message, if any. | 255 | ;; previous echo-area message, if any. |
| 256 | (let ((message-log-max nil)) | 256 | (let ((message-log-max nil)) |
| 257 | (message (or msg ""))) | 257 | (if msg |
| 258 | (message "%s" msg) | ||
| 259 | (message ""))) | ||
| 258 | ;; Return the number of actions that were taken. | 260 | ;; Return the number of actions that were taken. |
| 259 | actions)) | 261 | actions)) |
| 260 | 262 | ||