For now I am turning off locking in the plug-in method causing
problems until I figure out what is special about the short-cut
invocation vs. the command line or icon invocations.

On Oct 20, 7:31 am, "Edward K. Ream" <[email protected]> wrote:
> On Wed, Oct 19, 2011 at 10:06 PM, rhh <[email protected]> wrote:
> > I have a perfectly good command (created in a plugin) that works from
> > the mini-buffer and as a button, but when called by a short-cut
> > (assigned in the settings file) it triggers this condition.  What am I
> > missing?
>
> I can't answer without knowing exactly how your plugin creates the command.
>
> As you say, inCommand can be set to False to enable your command, but
> your command should, after it starts, set inCommand back to True.
>
> The world (probably) won't end if your command doesn't set inCommand
> to True, but the lockout code is there for a reason: it prevents a
> nasty freeze in unlikely circumstances.
>
> Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to