nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit ae2d30037512905ae075dbe96789b2e3a7b1f926
parent b341f29cbdae172af24e7ad0d09bfd52456953af
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Thu, 19 Jun 2014 20:19:22 +0000

Pfff...  Getting all iterations right is difficult.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4990 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/global.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/global.c b/src/global.c @@ -1332,13 +1332,16 @@ sc *strtosc(char *input) s->scfunc = do_undo; else if (!strcasecmp(input, "redo")) s->scfunc = do_redo; +#ifndef DISABLE_HISTORIES else if (!strcasecmp(input, "prevhistory")) { s->scfunc = get_history_older_void; s->execute = FALSE; } else if (!strcasecmp(input, "nexthistory")) { s->scfunc = get_history_newer_void; s->execute = FALSE; - } else if (!strcasecmp(input, "nohelp")) { + } +#endif + else if (!strcasecmp(input, "nohelp")) { s->scfunc = do_toggle_void; s->execute = FALSE; s->toggle = NO_HELP;