From f38230ae6dfed252fdcd7385a1cf61e309a7ecbc Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Wed, 21 Apr 2004 22:25:16 +0000 Subject: [PATCH] a few more minor cleanups git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1715 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 5 +++++ src/proto.h | 2 -- src/rcfile.c | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 71575dce..09044549 100644 --- 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 index 8fcc5317..11eec4ab 100644 --- 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 index 43c204f1..306faa0c 100644 --- 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 -- 2.39.5