Added rcfile.c source code and basic .nanorc functionality
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@598 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
diff --git a/nano.c b/nano.c
index 01c57ba..c5beea6 100644
--- a/nano.c
+++ b/nano.c
@@ -64,10 +64,6 @@
/* Former globals, now static */
int fill = 0; /* Fill - where to wrap lines, basically */
-#ifndef DISABLE_SPELLER
-static char *alt_speller; /* Alternative spell command */
-#endif
-
struct termios oldterm; /* The user's original term settings */
static struct sigaction act; /* For all out fun signal handlers */
@@ -2243,6 +2239,10 @@
#endif
#endif
+#ifdef ENABLE_NANORC
+ do_rcfile();
+#endif /* ENABLE_NANORC */
+
#ifdef HAVE_GETOPT_LONG
while ((optchr = getopt_long(argc, argv, "?T:RVbcefghijklmpr:s:tvwxz",
long_options, &option_index)) != EOF) {