2010-09-20 Juanma Barranquero <lekktu@gmail.com>
+ * 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 <monnier@iro.umontreal.ca>
((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")))