Eric recently introduced the idea of "temporary tiddlers" (tiddlers that are not saved) and provided a plugin for that purpose.
For his implementation he had to copy the complete SaverBase.prototype.externalize and modify it. This make it likely the plugin code will break as soon as we touch the original SaverBase.prototype.externalize function.
Since having "temporary tiddlers" seems to be a quite general feature I suggest we change the TiddlyWiki code to make it easier and more robust to get this feature.
Therefore the Tiddler class defines a new function isTemporary() that returns false by default. In the SaverBase.prototype.externalize this function is used to check what tiddlers must not be saved (one extra line).
Here the code:
//# returns true when this tiddler is a temporary tiddler (i.e. must not be saved).
Tiddler.prototype.isTemporary = function() {
return false;
}
SaverBase.prototype.externalize = function(store)
{
var results = [];
var tiddlers = store.getTiddlers("title");
for(var t = 0; t < tiddlers.length; t++)
if (!tiddlers[t].isTemporary()) //#THIS IS THE NEW LINE
results.push(this.externalizeTiddler(store,tiddlers[t]));
return results.join("\n");
};