From cc000b1bf580577d032c9f0563168b6bbdd6d290 Mon Sep 17 00:00:00 2001 From: Thierry Volpiatto Date: Thu, 12 Apr 2018 07:15:06 +0200 Subject: [PATCH] Don't use time in action * helm-descbinds.el (helm-descbinds-action:execute): Do it. --- helm-descbinds.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/helm-descbinds.el b/helm-descbinds.el index b05ba3b..d6959ac 100644 --- a/helm-descbinds.el +++ b/helm-descbinds.el @@ -186,7 +186,10 @@ This function will be called with two arguments KEY and BINDING." ((stringp x) (insert x)) ((commandp x) - (run-at-time 0.01 nil (lambda (command) (call-interactively command)) x))))) + ;; Using a timer here trigger a timer error with help-for-help + ;; (and perhaps others that use a timer themselves), so use + ;; directly `call-interactively'. + (call-interactively x))))) (defun helm-descbinds-action:describe (candidate) "An action that describe selected CANDIDATE function."