summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-30 22:48:27 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-30 22:48:27 +0100
commit05ad5ff0ab34ed9a5296dedd420ca81698b8ce22 (patch)
tree7354d352e37ab28988ce26e4f88efd9a9b9f71ec /src/buffer.c
parent0c5c3faef2d54151a8c144539e3e5a3350fb18c7 (diff)
downloadvim-git-05ad5ff0ab34ed9a5296dedd420ca81698b8ce22.tar.gz
patch 8.1.2371: FEAT_TEXT_PROP is a confusing namev8.1.2371
Problem: FEAT_TEXT_PROP is a confusing name. Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 4868428f5..4f38f918f 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -861,7 +861,7 @@ buf_freeall(buf_T *buf, int flags)
#ifdef FEAT_SYN_HL
syntax_clear(&buf->b_s); // reset syntax info
#endif
-#ifdef FEAT_TEXT_PROP
+#ifdef FEAT_PROP_POPUP
clear_buf_prop_types(buf);
#endif
buf->b_flags &= ~BF_READERR; // a read error is no longer relevant
@@ -5522,7 +5522,7 @@ buf_spname(buf_T *buf)
if (bt_prompt(buf))
return (char_u *)_("[Prompt]");
#endif
-#ifdef FEAT_TEXT_PROP
+#ifdef FEAT_PROP_POPUP
if (bt_popup(buf))
return (char_u *)_("[Popup]");
#endif