2015-02-25 Chris Allegretta <chrisa@asty.org>

* 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
This commit is contained in:
Chris Allegretta 2015-02-25 19:04:53 +00:00
parent e73e02fe10
commit 184cf609c0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-02-25 Chris Allegretta <chrisa@asty.org>
* src/rcfile.c (parse_binding): Add exception for do_toggle as
rebinding toggles broke with r5022.
2015-02-21 Benno Schulenberg <bensberg@justemail.net>
* README: Fix the explanation of how to subscribe to a mailing list.
* doc/syntax/{java,lua,python,ruby}.nanorc: Wrap some overlong lines.

View File

@ -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;