> } else { >> FuncRequest cmd2 = cmd; >> cmd2.action = LFUN_INSET_INSERT; >> dispatch(cmd2); >> } > >Is that else-branch equivalent to > > } else { > doInsertInset(this, cmd, true, false); > } > break;
Not quite. The latter calls createInset (in factory.C) directly. Which alternative is better? - Martin