chickadee » impromptu » edit-properties

edit-properties alistprocedure

Formats alist to a temporary file and spawns the user's preferred editor on it. If the editor exits with a zero error level, the file is parsed back into a new association list having keywords for keys and returned.

If the editor exits with a non-zero error, edit-properties returns #f.

The editor is sought in the following order:

  • $EDITOR, if set.
  • $VISUAL, if set.
  • vi