From f521b60f520f91a11212ab35cd4d86ecddffc81a Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Sun, 30 May 2004 03:56:52 +0000
Subject: [PATCH] for consistency, whitespace display should be off by default,
 not on

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1790 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog    | 5 +++--
 src/rcfile.c | 3 +--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d7a0a72c..fb080622 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -101,8 +101,9 @@ CVS code -
 	- Add the ability to change the characters used to display the
 	  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. (Mike Frysinger; minor changes and
-	  adaptations by DLR)
+	  or if we're in tiny mode.  Displaying the new characters is
+	  toggled on and off by Meta-P; the default is off. (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
 	  entries "punct" and "brackets". (DLR)
diff --git a/src/rcfile.c b/src/rcfile.c
index 8476eeac..de5ec4a1 100644
--- a/src/rcfile.c
+++ b/src/rcfile.c
@@ -605,8 +605,7 @@ 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
-- 
GitLab