- make-ini-file-accumulator outport #!optional (key-value-sep =) (comment-delim ;)procedure
Returns an accumulator that writes to the textual output port outport.
If the argument passed to the accumulator is a list of three elements, a key-value line, preceded if necessary by a section line, is written.
If the argument is a single string, it is prefixed by the comment delimiter and a single space and written out.
In either case, the accumulator returns an unspecified value. It is an error if any of these strings contains a newline. If the argument is an end-of-file object, the end-of-file object is returned. It is an error to call the accumulator after that.
Note that it is the user's responsibility to close the port.
The key-value-sep and comment-delim are treated the same as in make-ini-file-generator.