Skip to content

Commit

Permalink
Fix wrong type argument in hydra-timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
glucas committed Mar 9, 2015
1 parent b840227 commit 88c7dc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydra.el
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ Cancel the previous `hydra-timeout'."
(cancel-timer hydra-timer)
(setq hydra-timer (timer-create))
(timer-set-time hydra-timer
(timer-relative-time nil secs))
(timer-relative-time (current-time) secs))
(timer-set-function
hydra-timer
(or function #'hydra-keyboard-quit))
Expand Down

0 comments on commit 88c7dc4

Please sign in to comment.