Remove FEAT_AUTOCMD

Support for :autocmd command
This commit is contained in:
Hinidu
2014-04-09 08:01:26 +03:00
committed by Justin M. Keyes
parent ac116088af
commit df4127919a
3 changed files with 1 additions and 6 deletions

View File

@@ -101,7 +101,6 @@
#define FEAT_ARABIC #define FEAT_ARABIC
#define FEAT_AUTOCHDIR #define FEAT_AUTOCHDIR
#define FEAT_AUTOCMD
#define FEAT_BROWSE #define FEAT_BROWSE
#define FEAT_BROWSE_CMD #define FEAT_BROWSE_CMD
#define FEAT_BYTEOFF #define FEAT_BYTEOFF

View File

@@ -5361,8 +5361,6 @@ void forward_slash(char_u *fname)
/* /*
* Code for automatic commands. * Code for automatic commands.
*
* Only included when "FEAT_AUTOCMD" has been defined.
*/ */
@@ -6460,7 +6458,6 @@ int check_nomodeline(char_u **argp)
* Search for a visible window containing the current buffer. If there isn't * Search for a visible window containing the current buffer. If there isn't
* one then use "aucmd_win". * one then use "aucmd_win".
* Set "curbuf" and "curwin" to match "buf". * Set "curbuf" and "curwin" to match "buf".
* When FEAT_AUTOCMD is not defined another version is used, see below.
*/ */
void void
aucmd_prepbuf ( aucmd_prepbuf (
@@ -6546,7 +6543,6 @@ aucmd_prepbuf (
/* /*
* Cleanup after executing autocommands for a (hidden) buffer. * Cleanup after executing autocommands for a (hidden) buffer.
* Restore the window as it was (if possible). * Restore the window as it was (if possible).
* When FEAT_AUTOCMD is not defined another version is used, see below.
*/ */
void void
aucmd_restbuf ( aucmd_restbuf (

View File

@@ -6,7 +6,7 @@
/* /*
* Struct to save values in before executing autocommands for a buffer that is * Struct to save values in before executing autocommands for a buffer that is
* not the current buffer. Without FEAT_AUTOCMD only "curbuf" is remembered. * not the current buffer.
*/ */
typedef struct { typedef struct {
buf_T *save_curbuf; /* saved curbuf */ buf_T *save_curbuf; /* saved curbuf */