* hydra.el (hydra-create): Update.
Before, this would result in a disaster - all bindings of "C-x" would be
cleared:
(hydra-create "C-x" hydra-example-move-window-splitter)
Now this should be OK. Fixes #4.
heads ",\n"))))
`(progn
(when (eq ',method 'global-set-key)
- (global-set-key ,(kbd body) nil))
+ (unless (keymapp (global-key-binding ,(kbd body)))
+ (global-set-key ,(kbd body) nil)))
,@(cl-mapcar
(lambda (head name)
`(defun ,name ()