From: Juanma Barranquero Date: Mon, 20 Sep 2010 00:52:17 +0000 (+0200) Subject: * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro... X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~47^2~72 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f071341124811e21e94592137e4b1c8f0f5fd1f5;p=emacs.git * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3dee5fb16be..c2b7c23ea19 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2010-09-20 Juanma Barranquero + * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca. + * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'. 2010-09-19 Stefan Monnier diff --git a/lisp/subr.el b/lisp/subr.el index e76a78cdda4..b213ab759b2 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -3403,10 +3403,7 @@ is nil and `use-dialog-box' is non-nil." ((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")))