File: map-ynp.el.html
map-y-or-n-p is a general-purpose question-asking function.
It asks a series of y/n questions (a la y-or-n-p), and decides to apply an action to each element of a list based on the answer. The nice thing is that you also get some other possible answers to use, reminiscent of query-replace: ! to answer y to all remaining questions; ESC or q to answer n to all remaining questions; . to answer y once and then n for the remainder; and you can get help with C-h.
Defined variables (1)
read-answer-short | If non-nil, ‘read-answer’ accepts single-character answers. |
Defined functions (2)
map-y-or-n-p | (PROMPTER ACTOR LIST &optional HELP ACTION-ALIST NO-CURSOR-IN-ECHO-AREA) |
read-answer | (QUESTION ANSWERS) |