emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/consult 717e324: consult--async-throttle: Use throttle


From: ELPA Syncer
Subject: [elpa] externals/consult 717e324: consult--async-throttle: Use throttle instead of consult-async-input-throttle
Date: Wed, 28 Jul 2021 12:57:07 -0400 (EDT)

branch: externals/consult
commit 717e3241080d8409d00c77ce0e93f4182f2da3c7
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    consult--async-throttle: Use throttle instead of 
consult-async-input-throttle
    
    Thanks, @tecosaur!
---
 consult.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/consult.el b/consult.el
index e9bb348..868d3f3 100644
--- a/consult.el
+++ b/consult.el
@@ -1535,8 +1535,7 @@ The DEBOUNCE delay defaults to 
`consult-async-input-debounce'."
                    (run-at-time
                     (+ debounce
                        (if last
-                           (min (- (float-time) last)
-                                consult-async-input-throttle)
+                           (min (- (float-time) last) throttle)
                          0))
                     nil
                     (lambda ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]