Mercurial > emacs
changeset 110434:ec099872cdc4
* subr.el (y-or-n-p): Remove leftover code from revno 101459.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Mon, 20 Sep 2010 02:52:17 +0200 |
parents | 33cf78a271ef |
children | 7f85b522c27e |
files | lisp/ChangeLog lisp/subr.el |
diffstat | 2 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Mon Sep 20 00:36:54 2010 +0000 +++ b/lisp/ChangeLog Mon Sep 20 02:52:17 2010 +0200 @@ -1,5 +1,7 @@ 2010-09-20 Juanma Barranquero <lekktu@gmail.com> + * subr.el (y-or-n-p): Remove leftover code from revno 101459. + * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'. 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
--- a/lisp/subr.el Mon Sep 20 00:36:54 2010 +0000 +++ b/lisp/subr.el Mon Sep 20 02:52:17 2010 +0200 @@ -3403,10 +3403,7 @@ ((memq answer '(exit-prefix quit)) (signal 'quit nil) t) (t t))) (ding) - (discard-input) - (setq xprompt - (if (eq answer 'recenter) prompt - (concat "Please answer y or n. " prompt))))) + (discard-input))) (let ((ret (eq answer 'act))) (unless noninteractive (message "%s %s" prompt (if ret "y" "n")))