.B set/unset tempfile
Save automatically on exit, don't prompt.
.TP
+.B set/unset undo
+Enable experimental generic-purpose undo code.
+.TP
.B set/unset view
Disallow file modification.
.TP
{"smarthome", SMART_HOME},
{"smooth", SMOOTH_SCROLL},
{"tabstospaces", TABS_TO_SPACES},
+ {"undo", 0},
{"whitespace", 0},
{"wordbounds", WORD_BOUNDS},
#endif
option = ptr;
ptr = parse_next_word(ptr);
+#ifndef NANO_TINY
+ /* FIXME: Hack which should go away ASAP */
+ if (strcasecmp(option, "undo") == 0) {
+ use_undo = TRUE;
+ shortcut_init(0);
+ continue;
+ }
+#endif
+
for (i = 0; rcopts[i].name != NULL; i++) {
if (strcasecmp(option, rcopts[i].name) == 0) {
#ifdef DEBUG