patch 7.4.1502
Problem: Writing last-but-one line of buffer to a channel isn't implemented
yet.
Solution: Implement it. Fix leaving a swap file behind.
diff --git a/src/structs.h b/src/structs.h
index 42ca96c..d70c024 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -2051,6 +2051,10 @@
int b_netbeans_file; /* TRUE when buffer is owned by NetBeans */
int b_was_netbeans_file;/* TRUE if b_netbeans_file was once set */
#endif
+#ifdef FEAT_CHANNEL
+ int b_write_to_channel; /* TRUE when appended lines are written to
+ * a channel. */
+#endif
#ifdef FEAT_CRYPT
cryptstate_T *b_cryptstate; /* Encryption state while reading or writing