Pfff... Getting all iterations right is difficult.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4990 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
b341f29cbd
commit
ae2d300375
|
@ -1332,13 +1332,16 @@ sc *strtosc(char *input)
|
||||||
s->scfunc = do_undo;
|
s->scfunc = do_undo;
|
||||||
else if (!strcasecmp(input, "redo"))
|
else if (!strcasecmp(input, "redo"))
|
||||||
s->scfunc = do_redo;
|
s->scfunc = do_redo;
|
||||||
|
#ifndef DISABLE_HISTORIES
|
||||||
else if (!strcasecmp(input, "prevhistory")) {
|
else if (!strcasecmp(input, "prevhistory")) {
|
||||||
s->scfunc = get_history_older_void;
|
s->scfunc = get_history_older_void;
|
||||||
s->execute = FALSE;
|
s->execute = FALSE;
|
||||||
} else if (!strcasecmp(input, "nexthistory")) {
|
} else if (!strcasecmp(input, "nexthistory")) {
|
||||||
s->scfunc = get_history_newer_void;
|
s->scfunc = get_history_newer_void;
|
||||||
s->execute = FALSE;
|
s->execute = FALSE;
|
||||||
} else if (!strcasecmp(input, "nohelp")) {
|
}
|
||||||
|
#endif
|
||||||
|
else if (!strcasecmp(input, "nohelp")) {
|
||||||
s->scfunc = do_toggle_void;
|
s->scfunc = do_toggle_void;
|
||||||
s->execute = FALSE;
|
s->execute = FALSE;
|
||||||
s->toggle = NO_HELP;
|
s->toggle = NO_HELP;
|
||||||
|
|
Loading…
Reference in New Issue