From 56b24b59095d9db8e6087953cad1a9c839a40b3a Mon Sep 17 00:00:00 2001
From: Chris Allegretta <chrisa@asty.org>
Date: Wed, 29 Nov 2000 23:57:20 +0000
Subject: [PATCH] Took out help from spell_list and changed SPELL_LIST_LEN to 1

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@353 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog   | 2 ++
 global.c    | 5 +----
 nano.h      | 2 +-
 po/nano.pot | 6 +++---
 4 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 02e75913..66b4e8bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,8 @@ CVS code -
 	  print out various options from ./configure, function do_credits().
 	- Ignore key sequence 543 & 545, right control and alt keys in
 	  windows. Affects main() and winio.c:nanogetstr().
+	- Took out help from spell_list and changed SPELL_LIST_LEN to 1.
+	  Is using a spell checker THAT difficult? =-)
 - files.c:
   write_file()
 	- Unsetting modified on temp files bug fixed (Rocco Corsi).
diff --git a/global.c b/global.c
index 15a1717a..6366cf29 100644
--- a/global.c
+++ b/global.c
@@ -410,10 +410,7 @@ void shortcut_init(int unjustify)
     sc_init_one(&writefile_list[0], NANO_CANCEL_KEY, _("Cancel"),
 		nano_cancel_msg, 0, 0, 0, VIEW, 0);
 
-    sc_init_one(&spell_list[0], NANO_HELP_KEY, _("Get Help"),
-		nano_help_msg, 0, 0, 0, VIEW, do_help);
-
-    sc_init_one(&spell_list[1], NANO_CANCEL_KEY, _("Cancel"),
+    sc_init_one(&spell_list[0], NANO_CANCEL_KEY, _("Cancel"),
 		nano_cancel_msg, 0, 0, 0, VIEW, 0);
 
     toggle_init();
diff --git a/nano.h b/nano.h
index 7d659fa7..f5a6abc2 100644
--- a/nano.h
+++ b/nano.h
@@ -245,7 +245,7 @@ know what you're doing */
 #define GOTO_LIST_LEN 3
 #define WRITEFILE_LIST_LEN 1
 #define HELP_LIST_LEN 3
-#define SPELL_LIST_LEN 2
+#define SPELL_LIST_LEN 1
 
 #ifdef HAVE_REGEX_H
 #define TOGGLE_LEN 9
diff --git a/po/nano.pot b/po/nano.pot
index 39a07ef4..2510b4bd 100644
--- a/po/nano.pot
+++ b/po/nano.pot
@@ -6,7 +6,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-11-29 18:39-0500\n"
+"POT-Creation-Date: 2000-11-29 18:56-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -271,7 +271,7 @@ msgstr ""
 msgid "Cancel the current function"
 msgstr ""
 
-#: global.c:212 global.c:328 global.c:413
+#: global.c:212 global.c:328
 msgid "Get Help"
 msgstr ""
 
@@ -392,7 +392,7 @@ msgid "Case Sens"
 msgstr ""
 
 #: global.c:349 global.c:369 global.c:380 global.c:390 global.c:406
-#: global.c:410 global.c:416 winio.c:1028
+#: global.c:410 global.c:413 winio.c:1028
 msgid "Cancel"
 msgstr ""
 
-- 
GitLab