diff --git a/ChangeLog b/ChangeLog index 961032f4..94030c51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2015-11-02 Benno Schulenberg + * src/nano.h: Delete an unused type definition. + 2015-10-31 Benno Schulenberg * 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 index 4346eff5..8eaeb3b7 100644 --- 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;