nano

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

commit f38230ae6dfed252fdcd7385a1cf61e309a7ecbc
parent 9be546b2f38df7204411a454b82142e83ef2c469
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Wed, 21 Apr 2004 22:25:16 +0000

a few more minor cleanups


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1715 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

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

diff --git a/ChangeLog b/ChangeLog @@ -14,6 +14,11 @@ CVS code - - nano.c: do_delete() - Tweak for efficiency. (David Benbennick) +- proto.h: + - Remove unused add_marked_sameline() prototype. (DLR) +- rcfile.c: + - Move "rebinddelete" up in the list of options so that the list + is in alphabetical order. (DLR) - search.c: not_found_msg() - Convert to properly handle strings generated by diff --git a/src/proto.h b/src/proto.h @@ -494,8 +494,6 @@ int check_linenumbers(const filestruct *fileptr); #endif size_t get_page_start(size_t column); void reset_cursor(void); -void add_marked_sameline(int begin, int end, filestruct *fileptr, int y, - int virt_cur_x, int this_page); void edit_add(const filestruct *fileptr, const char *converted, int yval, size_t start); void update_line(const filestruct *fileptr, size_t index); diff --git a/src/rcfile.c b/src/rcfile.c @@ -71,10 +71,10 @@ const static rcoption rcopts[] = { {"operatingdir", 0}, #endif {"preserve", PRESERVE}, - {"rebinddelete", REBIND_DELETE}, #ifndef DISABLE_JUSTIFY {"quotestr", 0}, #endif + {"rebinddelete", REBIND_DELETE}, #ifdef HAVE_REGEX_H {"regexp", USE_REGEXP}, #endif