nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 4a80fcff4e069e109e3bcc5801724e5b28448988
parent f521b60f520f91a11212ab35cd4d86ecddffc81a
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sun, 30 May 2004 04:19:27 +0000

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

Diffstat:
MChangeLog | 2+-
Msrc/rcfile.c | 3++-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git 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 @@ -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