mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
updated for version 7.0e05
This commit is contained in:
@@ -1405,10 +1405,15 @@ u_add_time(buf, buflen, tt)
|
||||
ex_undojoin(eap)
|
||||
exarg_T *eap;
|
||||
{
|
||||
if (!curbuf->b_u_synced)
|
||||
return; /* already unsynced */
|
||||
if (curbuf->b_u_newhead == NULL)
|
||||
return; /* nothing changed before */
|
||||
if (curbuf->b_u_curhead != NULL)
|
||||
{
|
||||
EMSG(_("E790: undojoin is not allowed after undo"));
|
||||
return;
|
||||
}
|
||||
if (!curbuf->b_u_synced)
|
||||
return; /* already unsynced */
|
||||
if (p_ul < 0)
|
||||
return; /* no entries, nothing to do */
|
||||
else
|
||||
|
Reference in New Issue
Block a user