save_file ( editor, args )
Saves a file to disk that a coder opened for editing. When nomacs
and mpico are instantiated, this method is bound to them for saving
the output of their file buffers. In this way, we can use the editors
for editing things from mail messages to bulletin board entries to
files and just bind different save_file methods to the editors. This particular one saves files being edited by coders to disk. It
really shouldn't be called on it's own outside of the editor context.
arguments:
-
editor
- (editor ob instance) the editor holding the buffer we
want to save
-
args
- (list of arguments) (ignored)
|