commit ac9973658a73440340614d67d9f174b7b096a15a
parent d630880802ef57c328d72868968d79b4fdfb0f60
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Mon, 21 Apr 2014 17:47:16 +0000
Remove recognition of K-keys.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4797 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git 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 <bensberg@justemail.net>
* src/winio.c (get_mouseinput): Properly find also the zeroeth
diff --git 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;
}