Mercurial > vim
comparison src/ex_cmds.c @ 11537:e0eb2de60f09 v8.0.0651
patch 8.0.0651: build failure without the auto command feature
commit https://github.com/vim/vim/commit/157069b04e64eff72d2b34a2f727dfb6e2190cf3
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 22 14:56:12 2017 +0200
patch 8.0.0651: build failure without the auto command feature
Problem: Build failure without the auto command feature.
Solution: Add #ifdef. (closes https://github.com/vim/vim/issues/1782)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 22 Jun 2017 15:00:04 +0200 |
parents | c83dd5fa40d8 |
children | 39787def24bb |
comparison
equal
deleted
inserted
replaced
11536:0712c22899b7 | 11537:e0eb2de60f09 |
---|---|
6830 char_u *fname; | 6830 char_u *fname; |
6831 char_u *p; | 6831 char_u *p; |
6832 char_u *rt; | 6832 char_u *rt; |
6833 int mustfree; | 6833 int mustfree; |
6834 | 6834 |
6835 #ifdef FEAT_AUTOCMD | |
6835 /* Set filetype to "help" if still needed. */ | 6836 /* Set filetype to "help" if still needed. */ |
6836 if (STRCMP(curbuf->b_p_ft, "help") != 0) | 6837 if (STRCMP(curbuf->b_p_ft, "help") != 0) |
6837 set_option_value((char_u *)"ft", 0L, (char_u *)"help", OPT_LOCAL); | 6838 set_option_value((char_u *)"ft", 0L, (char_u *)"help", OPT_LOCAL); |
6839 #endif | |
6838 | 6840 |
6839 #ifdef FEAT_SYN_HL | 6841 #ifdef FEAT_SYN_HL |
6840 if (!syntax_present(curwin)) | 6842 if (!syntax_present(curwin)) |
6841 #endif | 6843 #endif |
6842 { | 6844 { |