From: David Lawrence Ramsey Date: Fri, 17 Jun 2005 17:37:46 +0000 (+0000) Subject: more cosmetic fixes X-Git-Tag: v1.3.8~99 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=18a89a6ceff11056fbfca682255688d17283cc65;p=nano.git more cosmetic fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2704 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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'},