* emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.

This commit is contained in:
Andreas Schwab 2013-07-12 11:33:09 +02:00
parent f6774c1ada
commit 051f277502
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
* emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
2013-07-12 Eli Zaretskii <eliz@gnu.org>
* simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.

View file

@ -131,8 +131,9 @@ Returns the number of actions taken."
(unwind-protect
(progn
(if (stringp prompter)
(setq prompter (lambda (object)
(format prompter object))))
(setq prompter (let ((prompter prompter))
(lambda (object)
(format prompter object)))))
(while (funcall next)
(setq prompt (funcall prompter elt))
(cond ((stringp prompt)