]> git.eshelyaron.com Git - emacs.git/commitdiff
Retain message logging in map-y-or-n-p
authorGlenn Morris <rgm@gnu.org>
Thu, 8 Dec 2016 01:25:36 +0000 (20:25 -0500)
committerGlenn Morris <rgm@gnu.org>
Thu, 8 Dec 2016 01:25:36 +0000 (20:25 -0500)
* 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

index 86057706ffced6e54b83346b92d52d3a355df663..02770d59e2bf30f03f2875a32733c62f72783e1c 100644 (file)
@@ -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