branch: elpa/helm
commit 9e7c64d46160115098b00f1af13fd544a76df284
Author: Thierry Volpiatto <thie...@posteo.net>
Commit: Thierry Volpiatto <thie...@posteo.net>

    Docstring only
---
 helm-core.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/helm-core.el b/helm-core.el
index 179d915968e..65af2a23390 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -8151,6 +8151,9 @@ source or `helm-follow-input-idle-delay'."
 ;; consumed i.e. the PA is executed because we are idle.
 (defvar helm--execute-persistent-action-timer nil)
 (defun helm--execute-persistent-action-when-idle (&optional delay src)
+  "Call persistent action only once idle DELAY many seconds.
+SRC is used to check if there is a delay specified for this source.
+Also avoid creating unneedlessly a timer at each call."
   ;; More or less similar to what the debounce fn in timeout package does,
   ;; except the timer is stored in a global var instead of beeing stored in a
   ;; closure and there is no default output, we just execute

Reply via email to