From 4a80fcff4e069e109e3bcc5801724e5b28448988 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sun, 30 May 2004 04:19:27 +0000 Subject: [PATCH] oops; for consistency with e.g. color syntax highlighting (which, like whitespace display, is specified in the rcfile), whitespace display should be on by default git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1791 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 2 +- src/rcfile.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index fb080622..d3ee4b18 100644 --- a/ChangeLog +++ b/ChangeLog @@ -102,7 +102,7 @@ CVS code - beginning characters of tabs and spaces via the rcfile entry "whitespace". This is disabled if nanorc support is disabled or if we're in tiny mode. Displaying the new characters is - toggled on and off by Meta-P; the default is off. (Mike + toggled on and off by Meta-P; the default is on. (Mike Frysinger; minor changes and adaptations by DLR) - Add the ability to change the closing punctuation and closing brackets used to control justification, via the rcfile diff --git a/src/rcfile.c b/src/rcfile.c index de5ec4a1..8476eeac 100644 --- a/src/rcfile.c +++ b/src/rcfile.c @@ -605,7 +605,8 @@ void parse_rcfile(FILE *rcstream) rcfile_error(_("Two non-control characters required")); free(whitespace); whitespace = NULL; - } + } else + SET(WHITESPACE_DISPLAY); } else #endif #ifndef DISABLE_JUSTIFY -- 2.39.5