This commit is contained in:
Justin M. Keyes
2019-04-29 21:37:22 +02:00
parent 7032562faf
commit a01246c275
2 changed files with 5 additions and 4 deletions

View File

@@ -1131,8 +1131,9 @@ void u_write_undo(const char *const name, const bool forceit, buf_T *const buf,
/* If there is no undo information at all, quit here after deleting any
* existing undo file. */
if (buf->b_u_numhead == 0 && buf->b_u_line_ptr == NULL) {
if (p_verbose > 0)
if (p_verbose > 0) {
verb_msg(_("Skipping undo file write, nothing to undo"));
}
goto theend;
}