From 18a89a6ceff11056fbfca682255688d17283cc65 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Fri, 17 Jun 2005 17:37:46 +0000 Subject: [PATCH] more cosmetic fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2704 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/global.c | 2 +- src/nano.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/global.c b/src/global.c index 85e33e83..ce6dd575 100644 --- a/src/global.c +++ b/src/global.c @@ -617,7 +617,7 @@ void shortcut_init(bool unjustify) NANO_NO_KEY, NANO_NO_KEY, NOVIEW, do_full_justify); #endif -#if defined(HAVE_REGEX_H) && !defined(NANO_SMALL) +#if !defined(NANO_SMALL) && defined(HAVE_REGEX_H) sc_init_one(&main_list, NANO_NO_KEY, N_("Find Other Bracket"), IFHELP(nano_bracket_msg, NANO_BRACKET_KEY), NANO_NO_KEY, NANO_NO_KEY, VIEW, do_find_bracket); diff --git a/src/nano.c b/src/nano.c index d319004f..c76a9347 100644 --- a/src/nano.c +++ b/src/nano.c @@ -4109,9 +4109,6 @@ int main(int argc, char **argv) {"multibuffer", 0, NULL, 'F'}, #endif #ifdef ENABLE_NANORC -#ifndef NANO_SMALL - {"historylog", 0, NULL, 'H'}, -#endif {"ignorercfiles", 0, NULL, 'I'}, #endif {"morespace", 0, NULL, 'O'}, @@ -4151,6 +4148,7 @@ int main(int argc, char **argv) {"backup", 0, NULL, 'B'}, {"backupdir", 1, NULL, 'C'}, {"tabstospaces", 0, NULL, 'E'}, + {"historylog", 0, NULL, 'H'}, {"noconvert", 0, NULL, 'N'}, {"smooth", 0, NULL, 'S'}, {"restricted", 0, NULL, 'Z'}, -- 2.39.5