forked from aniani/vim
updated for version 7.4.684
Problem: When starting several Vim instances in diff mode, the temp files used may not be unique. (Issue 353) Solution: Add an argument to vim_tempname() to keep the file.
This commit is contained in:
@@ -2945,7 +2945,7 @@ get_mef_name()
|
||||
|
||||
if (*p_mef == NUL)
|
||||
{
|
||||
name = vim_tempname('e');
|
||||
name = vim_tempname('e', FALSE);
|
||||
if (name == NULL)
|
||||
EMSG(_(e_notmp));
|
||||
return name;
|
||||
|
Reference in New Issue
Block a user