From ac9973658a73440340614d67d9f174b7b096a15a Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 21 Apr 2014 17:47:16 +0000 Subject: [PATCH] Remove recognition of K-keys. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4797 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 1 + src/rcfile.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f6ff8a3b..96d60365 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15,6 +15,7 @@ * src/global.c (assign_keyinfo): Decombine repetitive condition. * src/global.c (assign_keyinfo, shortcut_init): Give nicer names to the dedicated keys, for when they show up in the help lines. + * src/rcfile.c (parse_binding): K-keys no longer exist. 2014-04-16 Benno Schulenberg * src/winio.c (get_mouseinput): Properly find also the zeroeth diff --git a/src/rcfile.c b/src/rcfile.c index 8c1c2b82..2b7b0c2d 100644 --- a/src/rcfile.c +++ b/src/rcfile.c @@ -499,7 +499,7 @@ void parse_binding(char *ptr, bool dobind) } } - if (keycopy[0] != 'M' && keycopy[0] != '^' && keycopy[0] != 'F' && keycopy[0] != 'K') { + if (keycopy[0] != '^' && keycopy[0] != 'M' && keycopy[0] != 'F') { rcfile_error(N_("Key name must begin with \"^\", \"M\", or \"F\"")); return; } -- 2.39.5