#include "LyX.h"
-#include "buffer_funcs.h"
#include "Buffer.h"
#include "BufferList.h"
#include "CmdDef.h"
pimpl_->lyxfunc_.initKeySequences(&pimpl_->toplevel_keymap_);
// Read menus
- if (!readUIFile(lyxrc.ui_file))
+ if (use_gui && !readUIFile(lyxrc.ui_file))
return false;
if (lyxerr.debugging(Debug::LYXRC))