From 67c69b22980913e6fefbef4af46b091076b02d50 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 23 Dec 2018 19:45:34 +0100
Subject: [PATCH] options: rename long version of -K from --rebindkeypad to
 --rawsequences

To better describe what it does, and to have full contrast with the
--rebinddelete option: the latter can now be shortened to --rebind
without getting a conflict, and --rawsequences can be abbreviated
to simply --raw and still make sense.
---
 doc/nano.1           | 2 +-
 doc/nano.texi        | 4 ++--
 doc/nanorc.5         | 2 +-
 doc/sample.nanorc.in | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/nano.1 b/doc/nano.1
index 14bfcbcf..6e57d6e4 100644
--- a/doc/nano.1
+++ b/doc/nano.1
@@ -101,7 +101,7 @@ executed commands, so they can be easily reused in later sessions.
 .BR \-I ", " \-\-ignorercfiles
 Don't look at the system's \fInanorc\fR nor at the user's \fInanorc\fR.
 .TP
-.BR \-K ", " \-\-rebindkeypad
+.BR \-K ", " \-\-rawsequences
 Interpret the numeric keypad keys so that they all work properly.  You
 should only need to use this option if they don't, as mouse support
 won't work properly with this option enabled.
diff --git a/doc/nano.texi b/doc/nano.texi
index 90cbcbe9..78a8587b 100644
--- a/doc/nano.texi
+++ b/doc/nano.texi
@@ -191,7 +191,7 @@ executed commands, so they can be easily reused in later sessions.
 Don't look at the system's nanorc file nor at the user's nanorc.
 
 @item -K
-@itemx --rebindkeypad
+@itemx --rawsequences
 Interpret the numeric keypad keys so that they all work properly.  You
 should only need to use this option if they don't, as mouse support
 won't work properly with this option enabled.
@@ -839,7 +839,7 @@ Interpret the Delete key differently so that both Backspace and Delete
 work properly.  You should only need to use this option if Backspace
 acts like Delete on your system.
 
-@item set rebindkeypad
+@item set rawsequences
 Interpret the numeric keypad keys so that they all work properly.  You
 should only need to use this option if they don't, as mouse support
 won't work properly with this option enabled.
diff --git a/doc/nanorc.5 b/doc/nanorc.5
index 3282c9b1..135089be 100644
--- a/doc/nanorc.5
+++ b/doc/nanorc.5
@@ -206,7 +206,7 @@ Interpret the Delete key differently so that both Backspace and Delete
 work properly.  You should only need to use this option if Backspace
 acts like Delete on your system.
 .TP
-.B set rebindkeypad
+.B set rawsequences
 Interpret the numeric keypad keys so that they all work properly.  You
 should only need to use this option if they don't, as mouse support
 won't work properly with this option enabled.
diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in
index 7d81e417..13316ecb 100644
--- a/doc/sample.nanorc.in
+++ b/doc/sample.nanorc.in
@@ -130,7 +130,7 @@
 # set rebinddelete
 
 ## Fix numeric keypad key confusion problem.
-# set rebindkeypad
+# set rawsequences
 
 ## Do extended regular expression searches by default.
 # set regexp
-- 
GitLab