Skip to content

Commit

Permalink
Two simple fixes in helm-descbinds-action-transformer
Browse files Browse the repository at this point in the history
Use a timer delay > 0.  Don't make action function interactive.

Thanks Thierry.
  • Loading branch information
michael-heerdegen committed Jun 8, 2016
1 parent 3c34497 commit c0fad3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm-descbinds.el
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ This function will be called with two arguments KEY and BINDING."
"Default action transformer for `helm-descbinds'.
Provide a useful behavior for prefix commands."
(if (equal (cdr-safe cand) "Prefix Command")
`(("helm-descbinds this prefix" . ,(lambda (cand) (interactive)
`(("helm-descbinds this prefix" . ,(lambda (cand)
(run-with-timer
0 nil
0.1 nil
#'describe-bindings (kbd (car cand))))))
actions))

Expand Down

0 comments on commit c0fad3c

Please sign in to comment.