From a6776f0823b5dcc561c1074fab1d33fb779db250 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 7 Dec 2016 20:25:36 -0500 Subject: [PATCH] Retain message logging in map-y-or-n-p * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Stop disabling logging to Messages buffer. (Bug#13326) --- lisp/emacs-lisp/map-ynp.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/emacs-lisp/map-ynp.el b/lisp/emacs-lisp/map-ynp.el index 86057706ffc..02770d59e2b 100644 --- a/lisp/emacs-lisp/map-ynp.el +++ b/lisp/emacs-lisp/map-ynp.el @@ -144,8 +144,7 @@ Returns the number of actions taken." (cons prompt map)) 'quit)) ;; Prompt in the echo area. - (let ((cursor-in-echo-area (not no-cursor-in-echo-area)) - (message-log-max nil)) + (let ((cursor-in-echo-area (not no-cursor-in-echo-area))) (message (apply 'propertize "%s(y, n, !, ., q, %sor %s) " minibuffer-prompt-properties) prompt user-keys -- 2.39.2