From: Benno Schulenberg Date: Sat, 27 Jun 2015 15:47:39 +0000 (+0000) Subject: Removing the obsolete execute flag from the shortcut struct. X-Git-Tag: v2.4.2~6 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=076fcbf63146e84192cdcd53ec26091d3fc16397;p=nano.git Removing the obsolete execute flag from the shortcut struct. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5271 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index fbaf141f..e5d5c8fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,7 +6,8 @@ a temporary file as parameter, so forget the case of an empty filename. Also, don't bother putting the pointer at the top of the buffer, as the first action after this function is to restore the cursor position. - * src/files.c: Normalize the whitespace and some comments. + * src/files.c: Normalize whitespace and comments. + * src/nano.h: Remove obsolete execute flag from the shortcut struct. 2015-06-23 Benno Schulenberg * src/winio.c (edit_draw): Verify that there exists multidata for the diff --git a/src/nano.h b/src/nano.h index 21e8a32b..cf6d0587 100644 --- a/src/nano.h +++ b/src/nano.h @@ -452,9 +452,6 @@ typedef struct sc { /* The function we're going to run. */ int toggle; /* If a toggle, what we're toggling. */ - bool execute; - /* Whether to execute the function in question or just return - * so the sequence can be caught by the calling code. */ struct sc *next; /* Next in the list. */ } sc;