comparison lisp/map-ynp.el @ 580:c8860f81ccf7

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Sun, 15 Mar 1992 03:47:41 +0000
parents 0c2e4ee42304
children 505130d1ddf8
comparison
equal deleted inserted replaced
579:e2782df984a2 580:c8860f81ccf7
39 Takes args PROMPTER ACTOR LIST, and optional arg HELP. 39 Takes args PROMPTER ACTOR LIST, and optional arg HELP.
40 40
41 LIST is a list of objects, or a function of no arguments to return the next 41 LIST is a list of objects, or a function of no arguments to return the next
42 object or nil. 42 object or nil.
43 43
44 If is PROMPTER a string, the prompt is \(format PROMPTER OBJECT\). If not 44 If PROMPTER is a string, the prompt is \(format PROMPTER OBJECT\). If not
45 a string, PROMPTER is a function of one arg (an object from LIST), which 45 a string, PROMPTER is a function of one arg (an object from LIST), which
46 returns a string to be used as the prompt for that object. If the return 46 returns a string to be used as the prompt for that object. If the return
47 value is not a string, it is eval'd to get the answer; it may be nil to 47 value is not a string, it is eval'd to get the answer; it may be nil to
48 ignore the object, t to act on the object without asking the user, or a 48 ignore the object, t to act on the object without asking the user, or a
49 form to do a more complex prompt. 49 form to do a more complex prompt.