]> git.lyx.org Git - lyx.git/blobdiff - src/BufferList.cpp
lyx-build: check sig in case one really uses download instead of local tarball.
[lyx.git] / src / BufferList.cpp
index a61b0bfd80fdd8d80229601eb96537b7b8557fa7..538df77a1de2005553f3df4dda4ddbdaae8130ed 100644 (file)
@@ -241,7 +241,6 @@ void BufferList::updateIncludedTeXfiles(string const & masterTmpDir,
                        (*it)->markDepClean(masterTmpDir);
                }
        }
-       runparams.is_child = false;
 }
 
 
@@ -269,7 +268,7 @@ bool BufferList::exists(FileName const & fname) const
 }
 
 
- bool BufferList::isLoaded(Buffer const * b) const
+bool BufferList::isLoaded(Buffer const * b) const
 {
        if (!b)
                return false;
@@ -279,6 +278,16 @@ bool BufferList::exists(FileName const & fname) const
 }
 
 
+bool BufferList::isInternal(Buffer const * b) const
+{
+       if (!b)
+               return false;
+       BufferStorage::const_iterator cit =
+               find(binternal.begin(), binternal.end(), b);
+       return cit != binternal.end();
+}
+
+
 bool BufferList::isOthersChild(Buffer * parent, Buffer * child)
 {
        LASSERT(parent, return false);