commit bf6a9000d51dfa7f5bb905ba160c85cd6f0c53ac
parent 0d84301da3b14bc07d4e72d49f09b46b589ce71f
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Wed, 16 Apr 2014 08:58:40 +0000
Removing MHELP from MALL.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4782 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git 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
@@ -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