mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
eb26d1f2d2
commit
ca2ee03ba1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user