Fix bug #7231 (Math macro arguments miss braces when input into a file)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37205 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2011-01-13 21:01:29 +00:00
parent eb26d1f2d2
commit ca2ee03ba1

View File

@ -2688,7 +2688,8 @@ MacroData const * Buffer::Impl::getBufferMacro(docstring const & name,
// scope ends behind pos?
if (pos < it->second.first
&& theBufferList().isLoaded(it->second.second)) {
&& (cloned_buffer_ ||
theBufferList().isLoaded(it->second.second))) {
// look for macro in external file
macro_lock = true;
MacroData const * data