Allowing to rebind 'suspend' in tiny nano.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4915 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
769e81c7c3
commit
5a39339478
|
@ -2,6 +2,7 @@
|
||||||
* src/global.c (shortcut_init): Improve the arrangement of help items
|
* src/global.c (shortcut_init): Improve the arrangement of help items
|
||||||
under certain compilation conditions.
|
under certain compilation conditions.
|
||||||
* src/global.c (strtosc): Make tiny nano a bit tinier.
|
* src/global.c (strtosc): Make tiny nano a bit tinier.
|
||||||
|
* src/global.c (strtosc): Allow rebinding 'suspend' in tiny nano.
|
||||||
|
|
||||||
2014-05-26 Benno Schulenberg <bensberg@justemail.net>
|
2014-05-26 Benno Schulenberg <bensberg@justemail.net>
|
||||||
* src/cut.c (cut_line): Fix compilation with --enable-tiny.
|
* src/cut.c (cut_line): Fix compilation with --enable-tiny.
|
||||||
|
|
|
@ -1333,8 +1333,6 @@ sc *strtosc(char *input)
|
||||||
s->scfunc = do_find_bracket;
|
s->scfunc = do_find_bracket;
|
||||||
else if (!strcasecmp(input, "wordcount"))
|
else if (!strcasecmp(input, "wordcount"))
|
||||||
s->scfunc = do_wordlinechar_count;
|
s->scfunc = do_wordlinechar_count;
|
||||||
else if (!strcasecmp(input, "suspend"))
|
|
||||||
s->scfunc = do_suspend_void;
|
|
||||||
else if (!strcasecmp(input, "undo"))
|
else if (!strcasecmp(input, "undo"))
|
||||||
s->scfunc = do_undo;
|
s->scfunc = do_undo;
|
||||||
else if (!strcasecmp(input, "redo"))
|
else if (!strcasecmp(input, "redo"))
|
||||||
|
@ -1467,6 +1465,8 @@ sc *strtosc(char *input)
|
||||||
s->scfunc = do_backspace;
|
s->scfunc = do_backspace;
|
||||||
else if (!strcasecmp(input, "refresh"))
|
else if (!strcasecmp(input, "refresh"))
|
||||||
s->scfunc = total_refresh;
|
s->scfunc = total_refresh;
|
||||||
|
else if (!strcasecmp(input, "suspend"))
|
||||||
|
s->scfunc = do_suspend_void;
|
||||||
else if (!strcasecmp(input, "casesens")) {
|
else if (!strcasecmp(input, "casesens")) {
|
||||||
s->scfunc = case_sens_void;
|
s->scfunc = case_sens_void;
|
||||||
s->execute = FALSE;
|
s->execute = FALSE;
|
||||||
|
|
Loading…
Reference in New Issue