summaryrefslogtreecommitdiff
path: root/src/macros.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-09-09 20:59:37 +0200
committerBram Moolenaar <Bram@vim.org>2015-09-09 20:59:37 +0200
commit43335ea394fe247132b9701c55cccf51e6c36425 (patch)
treea6d49dee3b759cf5b39273b027c402b9c7391751 /src/macros.h
parent5325b9bbae8a717510ef7248f3ce8b50281bd33f (diff)
downloadvim-43335ea394fe247132b9701c55cccf51e6c36425.zip
patch 7.4.863
Problem: plines_nofill() used without the diff feature. Solution: Define PLINES_NOFILL().
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/macros.h b/src/macros.h
index 773cffdf7..f70e20614 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -315,3 +315,9 @@
# endif
# endif
#endif
+
+#ifdef FEAT_DIFF
+# define PLINES_NOFILL(x) plines_nofill(x)
+#else
+# define PLINES_NOFILL(x) plines(x)
+#endif