From: Chris Allegretta Date: Wed, 25 Feb 2015 19:04:53 +0000 (+0000) Subject: 2015-02-25 Chris Allegretta X-Git-Tag: v2.3.99pre3~1 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=184cf609c0db03ceabbb09420e40990166aebfee;p=nano.git 2015-02-25 Chris Allegretta * src/rcfile.c (parse_binding): Add exception for do_toggle as rebinding toggles broke with r5022. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5124 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index c113825f..913d4386 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-02-25 Chris Allegretta + * src/rcfile.c (parse_binding): Add exception for do_toggle as + rebinding toggles broke with r5022. + 2015-02-21 Benno Schulenberg * README: Fix the explanation of how to subscribe to a mailing list. * doc/syntax/{java,lua,python,ruby}.nanorc: Wrap some overlong lines. diff --git a/src/rcfile.c b/src/rcfile.c index f7c897d6..28313a7c 100644 --- a/src/rcfile.c +++ b/src/rcfile.c @@ -505,7 +505,7 @@ void parse_binding(char *ptr, bool dobind) fprintf(stderr, "unbinding \"%s\" from menu %x\n", keycopy, menu); #endif - if (dobind) { + if (dobind && newsc->scfunc != do_toggle_void) { subnfunc *f; int mask = 0;