Commit f0713411 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

* subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.

parent bdaa75c7
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>
......
......@@ -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")))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment