Added mem feature.
Added mem feature.

mem ‘<comment>’ saves the last line in history preceded by #comment.