From bf6a9000d51dfa7f5bb905ba160c85cd6f0c53ac Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Wed, 16 Apr 2014 08:58:40 +0000
Subject: [PATCH] Removing MHELP from MALL.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4782 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog  | 2 ++
 src/nano.h | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 9f58a68c..2c78d8de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
 	item from a certain menu in the list of functions.  Until now
 	this accidentally worked, because "Get Help" was the very first
 	item in almost all menus.  Partly fixes Savannah bug #42093.
+	* src/nano.h: MHELP should not be part of MALL, as ^B and ^F and
+	Enter and Backspace and so on don't make any sense there.
 
 2014-04-15  Benno Schulenberg  <bensberg@justemail.net>
 	* src/nano.c (precalc_multicolorinfo): Actually set the intended
diff --git a/src/nano.h b/src/nano.h
index 85e97dba..5f0cb80e 100644
--- a/src/nano.h
+++ b/src/nano.h
@@ -553,7 +553,7 @@ enum
 #define MYESNO				(1<<13)
 #define MLINTER				(1<<14)
 /* This isn't really all, but close enough. */
-#define	MALL				(MMAIN|MWHEREIS|MREPLACE|MREPLACE2|MGOTOLINE|MWRITEFILE|MINSERTFILE|MEXTCMD|MSPELL|MBROWSER|MWHEREISFILE|MGOTODIR|MHELP|MLINTER)
+#define	MALL				(MMAIN|MWHEREIS|MREPLACE|MREPLACE2|MGOTOLINE|MWRITEFILE|MINSERTFILE|MEXTCMD|MSPELL|MBROWSER|MWHEREISFILE|MGOTODIR|MLINTER)
 
 /* Control key sequences.  Changing these would be very, very bad. */
 #define NANO_CONTROL_SPACE 0
-- 
GitLab