diff options
author | Glenn Morris <rgm@gnu.org> | 2016-12-07 20:25:36 -0500 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2016-12-07 20:25:36 -0500 |
commit | a6776f0823b5dcc561c1074fab1d33fb779db250 (patch) | |
tree | 19e1031465fd9e8340b6c5c38ccc50b8ab5a4cad /lisp/emacs-lisp | |
parent | 5415c8be603a8498d680db5348f797dba7770f22 (diff) | |
download | emacs-a6776f0823b5dcc561c1074fab1d33fb779db250.tar.gz emacs-a6776f0823b5dcc561c1074fab1d33fb779db250.tar.bz2 emacs-a6776f0823b5dcc561c1074fab1d33fb779db250.zip |
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)
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/map-ynp.el | 3 |
1 files changed, 1 insertions, 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 |