diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 02df0087f4..0c6f70fd42 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -906,17 +906,16 @@ void LyXAction::init() * \var lyx::kb_action lyx::LFUN_CALL * \li Action: Executes a command defined in a .def file. * \li Notion: The definitions are by default read from lib/commands/default.def . - A .def file allows to define a command with \\define "Name" "lfun" - where Name is the name of the new command and lfun is the lfun code + A .def file allows to define a command with \\define "" "" + where is the name of the new command and is the lfun code to be executed (see e.g. command-sequence LFUN). \\def_file "FileName" allows to include another .def file. This is particularly useful in connection with toolbar buttons: - Since the name of the button is derived from , a button - cannot otherwise be assigned to a complex command-sequence. - * \li Syntax: call - * \li Params: : Name of the command that must be called. - can be consequently used in menu, - toolbar (image) or bind file + Since the name of the button image for this lfun is + lib/images/commands/.png this is the way to assign an image + to a complex command-sequence. + * \li Syntax: call + * \li Params: : Name of the command that must be called. * \li Origin: broider, 2 Oct 2007 */ { LFUN_CALL, "call", NoBuffer, System },