ieure/hyperspace-el

Suggested key binding for minor mode gives an error

Closed this issue · 2 comments

(eval-after-load "hyperspace"
  (define-key hyperspace-minor-mode-map "\C-cs" #'hyperspace))

Using the above code, pulled from the README, in my init file gives the error

Wrong number of arguments: (1 . 2), 0

I have tried copy and pasting it into my init file and typing it out myself and still get the same error.

ieure commented

Fixed in a7ea085.

Correct form is:

(eval-after-load "hyperspace"
  (lambda () (define-key hyperspace-minor-mode-map "\C-cs" #'hyperspace)))

Sweet, thank you!