2009/11/13 Ben Eisenbraun <[email protected]>: > Hello Cooters, > > I'm trying to add a keyboard shortcut for Rotate/Translate Zone. I > stumbled around a bit and decided on: > > (add-key-binding "Rotate-Translate Zone" "r" (do-rot-trans-setup 1)) > > But it doesn't quite work. I get this error: > > ((safe_scheme_command) Error in proc: key: misc-error args: (#f Wrong > type to apply: ~S (#<unspecified>) #f)) > > Any ideas on what I'm doing wrong? > > Thanks. > > -ben > > -- > | Ben Eisenbraun | Software Sysadmin | > | Structural Biology Grid | http://sbgrid.org | > | Harvard Medical School | http://hms.harvard.edu | >
Try this: (add-key-binding "Rotate-Translate Zone" "r" (lambda () (do-rot-trans-setup 1)))
