Rename deleteFilesOnError to removeAuxiliaryFiles

The function is no longer called when there is an error because
we keep the file around for the "Show Output Anyway" button
(see 09700d5b).
This commit is contained in:
Scott Kostyshak 2015-05-03 19:02:22 -04:00
parent d9546de0bd
commit a1aeea3f16
2 changed files with 3 additions and 3 deletions

View File

@ -108,7 +108,7 @@ LaTeX::LaTeX(string const & latex, OutputParams const & rp,
}
void LaTeX::deleteFilesOnError() const
void LaTeX::removeAuxiliaryFiles() const
{
// Note that we do not always call this function when there is an error.
// For example, if there is an error but an output file is produced we
@ -413,7 +413,7 @@ int LaTeX::run(TeXErrors & terr)
// incorrect PDF is not displayed, which could otherwise
// happen if View is run again because the checksum will
// be the same so any lingering PDF will be viewed.
deleteFilesOnError();
removeAuxiliaryFiles();
}
if (exit_code)

View File

@ -209,7 +209,7 @@ private:
OutputParams const &);
///
void deleteFilesOnError() const;
void removeAuxiliaryFiles() const;
///
std::string cmd;