]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetBranch.cpp
* Lazy MathData to avoid unneeded interpretation of macro definitions
[features.git] / src / insets / InsetBranch.cpp
index b272647b83d08c3717a2ee7f9ea27bb449c63da2..0eed816e60643efde356f7693ca761b9a018f878 100644 (file)
@@ -270,6 +270,12 @@ void InsetBranch::validate(LaTeXFeatures & features) const
 }
 
 
+bool InsetBranch::isMacroScope(Buffer const & buf) const 
+{
+       // Its own scope if not selected by buffer
+       return !isBranchSelected(buf);
+}
+
 
 string const InsetBranchMailer::name_("branch");