Mercurial > vim
comparison src/autocmd.c @ 16906:4dac68c4a34a v8.1.1454
patch 8.1.1454: build failure without the conceal feature
commit https://github.com/vim/vim/commit/6116b6abb1a14b6b7aa9776c390f1a5a6bf1b209
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 2 19:02:27 2019 +0200
patch 8.1.1454: build failure without the conceal feature
Problem: Build failure without the conceal feature.
Solution: Remove #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 02 Jun 2019 19:15:05 +0200 |
parents | f8e28c6ae8ab |
children | 40c4cb095d53 |
comparison
equal
deleted
inserted
replaced
16905:9c5fce4d3b07 | 16906:4dac68c4a34a |
---|---|
1707 has_cursormoved(void) | 1707 has_cursormoved(void) |
1708 { | 1708 { |
1709 return (first_autopat[(int)EVENT_CURSORMOVED] != NULL); | 1709 return (first_autopat[(int)EVENT_CURSORMOVED] != NULL); |
1710 } | 1710 } |
1711 | 1711 |
1712 #if defined(FEAT_CONCEAL) || defined(PROTO) | |
1713 /* | 1712 /* |
1714 * Return TRUE when there is a CursorMovedI autocommand defined. | 1713 * Return TRUE when there is a CursorMovedI autocommand defined. |
1715 */ | 1714 */ |
1716 int | 1715 int |
1717 has_cursormovedI(void) | 1716 has_cursormovedI(void) |
1718 { | 1717 { |
1719 return (first_autopat[(int)EVENT_CURSORMOVEDI] != NULL); | 1718 return (first_autopat[(int)EVENT_CURSORMOVEDI] != NULL); |
1720 } | 1719 } |
1721 #endif | |
1722 | 1720 |
1723 /* | 1721 /* |
1724 * Return TRUE when there is a TextChanged autocommand defined. | 1722 * Return TRUE when there is a TextChanged autocommand defined. |
1725 */ | 1723 */ |
1726 int | 1724 int |