Next: , Previous: , Up: Preferences Commands   [Contents][Index]

4.9.29 Modified

Syntax: Modified [0|1]
Abbreviation: MOD

sets the modified flag. This flag is set automatically whenever a document is modified, and is used to determine which documents need to be saved when ne exits. Normally you would not alter this flag, but when a document is inadvertently modified and you don’t want the changes saved, Modified provides a way to make ne consider the document unchanged.

If you invoke Modified with no arguments, it will toggle the flag. If you specify 0 or 1, the flag will be set to false or true, respectively. An asterisk (‘*’) will appear on the status bar if the flag is true.