From: Glenn Morris Date: Thu, 8 Dec 2016 01:25:36 +0000 (-0500) Subject: Retain message logging in map-y-or-n-p X-Git-Tag: emacs-26.0.90~1156 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a6776f0823b5dcc561c1074fab1d33fb779db250;p=emacs.git 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) --- 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