diff options
-rw-r--r-- | config/config.h.in | 1 | ||||
-rw-r--r-- | src/nvim/fileio.c | 4 | ||||
-rw-r--r-- | src/nvim/fileio.h | 2 |
3 files changed, 1 insertions, 6 deletions
diff --git a/config/config.h.in b/config/config.h.in index ab2a56e51a..3f88cf0aed 100644 --- a/config/config.h.in +++ b/config/config.h.in @@ -101,7 +101,6 @@ #define FEAT_ARABIC #define FEAT_AUTOCHDIR -#define FEAT_AUTOCMD #define FEAT_BROWSE #define FEAT_BROWSE_CMD #define FEAT_BYTEOFF diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index 290ff424cc..f6c9db350e 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -5361,8 +5361,6 @@ void forward_slash(char_u *fname) /* * 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 * one then use "aucmd_win". * Set "curbuf" and "curwin" to match "buf". - * When FEAT_AUTOCMD is not defined another version is used, see below. */ void aucmd_prepbuf ( @@ -6546,7 +6543,6 @@ aucmd_prepbuf ( /* * Cleanup after executing autocommands for a (hidden) buffer. * Restore the window as it was (if possible). - * When FEAT_AUTOCMD is not defined another version is used, see below. */ void aucmd_restbuf ( diff --git a/src/nvim/fileio.h b/src/nvim/fileio.h index 2d61c21fb5..137f8506ba 100644 --- a/src/nvim/fileio.h +++ b/src/nvim/fileio.h @@ -6,7 +6,7 @@ /* * 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 { buf_T *save_curbuf; /* saved curbuf */ |