nano

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

commit 5cbb5115c61bd042021d261969b7798ec6689eb6
parent 2418b9486b5a4bc8653a21fa21285d342f4567e2
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Mon,  2 Nov 2015 10:27:02 +0000

Deleting an unused type definition.


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

Diffstat:
MChangeLog | 3+++
Msrc/nano.h | 18------------------
2 files changed, 3 insertions(+), 18 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,6 @@ +2015-11-02 Benno Schulenberg <bensberg@justemail.net> + * src/nano.h: Delete an unused type definition. + 2015-10-31 Benno Schulenberg <bensberg@justemail.net> * src/nano.c (copy_from_filestruct): When pasting while the mark is on, the mark's pointer needs to be refreshed only when it is on the diff --git a/src/nano.h b/src/nano.h @@ -416,24 +416,6 @@ typedef struct openfilestruct { /* Previous node. */ } openfilestruct; -typedef struct shortcut { - const char *desc; - /* The function's description, e.g. "Page Up". */ -#ifndef DISABLE_HELP - const char *help; - /* The help file entry text for this function. */ - bool blank_after; - /* Whether there should be a blank line after the help entry - * text for this function. */ -#endif - bool viewok; - /* Is this function allowed when in view mode? */ - void (*func)(void); - /* The function to call when we get this key. */ - struct shortcut *next; - /* Next shortcut. */ -} shortcut; - #ifndef DISABLE_NANORC typedef struct rcoption { const char *name;