Thanks Edward for suggesting this. However, the reason for starting this post is due to my own stupidity. I was having problems with fixing a bug in a command I created using @g.command. I just forgot that I had to run the script before the updated command was available in the Minibuffer.
I posted the original question in expectation that there be an undocumented @g.removeCommand or c.k.unregisterCommand to remove existing commands that were not needed. On Saturday, July 21, 2012 12:41:03 PM UTC+1, Edward K. Ream wrote: > > On Mon, Jul 16, 2012 at 11:55 PM, felix74 wrote: > > How can I remove a command created using the @g.command decorator > without having to reload leo. > > Why do you want to do this? If you simply want to redefine what a > command means, you could use k.registerCommand:: > > c.k.registerCommand(command_name, > shortcut=None, > func=yourNewFunction) > > Edward > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To view this discussion on the web visit https://groups.google.com/d/msg/leo-editor/-/k2gIWdtuih8J. 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.
