#include "lyxrc.h"
#include "kbmap.h"
#include "LyXAction.h"
-#include "lyxserver.h"
#include "lyx_main.h"
#include "intl.h"
-#include "tex-strings.h"
#include "support/path.h"
#include "support/filetools.h"
#include "lyxtext.h"
<< action << '\'' << endl;
}
res = toplevel_keymap->bind(seq, action);
- if (res != 0
+ if (res != string::npos
&& lyxerr.debugging(Debug::LYXRC)) {
lexrc.printError(
"RC_BIND: "