[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-hydra 48e56da 305/395: Extend :type of counsel-asyn
From: |
Basil L. Contovounesios |
Subject: |
[elpa] externals/ivy-hydra 48e56da 305/395: Extend :type of counsel-async-command-delay |
Date: |
Thu, 25 Feb 2021 08:32:26 -0500 (EST) |
branch: externals/ivy-hydra
commit 48e56daadeb8dd9e19bd4b13217e7ab276b25239
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>
Extend :type of counsel-async-command-delay
* counsel.el (counsel-async-command-delay): Remove redundant :group
tag. Support both integer and floating point values.
(counsel--async-command): Use zerop accordingly.
Re: #2556.
---
counsel.el | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/counsel.el b/counsel.el
index b304e14..a3d1332 100644
--- a/counsel.el
+++ b/counsel.el
@@ -231,17 +231,16 @@ respectively."
(set-process-filter proc (or filter #'counsel--async-filter))
proc))
-(defcustom counsel-async-command-delay 0.0
+(defcustom counsel-async-command-delay 0
"Number of seconds to wait before spawning another async command."
- :type 'float
- :group 'counsel)
+ :type 'number)
(defun counsel--async-command (&rest args)
"Like `counsel--async-command-1', with same ARGS, but debounced.
Calls to `counsel--async-command-1' are separated by at least
`counsel-async-command-delay' seconds, so as to avoid issues
caused by spawning too many subprocesses too quickly."
- (if (= counsel-async-command-delay 0.0)
+ (if (zerop counsel-async-command-delay)
(apply #'counsel--async-command-1 args)
(when counsel--async-timer
(cancel-timer counsel--async-timer))
- [elpa] externals/ivy-hydra fcf5dcf 159/395: ivy.el (ivy--compute-extra-actions): Use the provided doc for "o", (continued)
- [elpa] externals/ivy-hydra fcf5dcf 159/395: ivy.el (ivy--compute-extra-actions): Use the provided doc for "o", Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra e7cc776 174/395: swiper.el (swiper-verbose): New defcustom, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 2894f11 177/395: ivy.el (magic-slash): comment out windows behaviour, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 742119a 181/395: counsel.el (counsel-tracker): New command, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 9ccd93b 191/395: ivy-hydra.el (ivy-hydra-read-action): Work for "C-M-o", Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra bba92e0 188/395: counsel.el (counsel-file-name-filter-alist): Modify perl entry, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 64f05f4 189/395: swiper.el (swiper-font-lock-exclude): Add sieve-mode, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 6f04865 185/395: ivy.el (ivy-init-fns-alist): Add, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 1b426e1 202/395: Fix byte-compilation warning in Emacs 28, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra f9fa30d 211/395: More compatibility fixes, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 48e56da 305/395: Extend :type of counsel-async-command-delay,
Basil L. Contovounesios <=
- [elpa] externals/ivy-hydra 0eebf24 318/395: ivy.el (ivy--partial-cd-for-single-directory): Fix for ignore-order, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra edefba7 304/395: ivy-test.el (ivy-read-alist-multi-cands): Add test, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra aa47396 218/395: counsel.el (counsel-fonts): Preselect the current font, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 2bf7317 235/395: ivy.el: ivy--index should never be nil, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 33fa992 250/395: Fix swiper handling of bol regex, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 6ab24b6 249/395: * ivy.el: Use with-eval-after-load, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra ffa5a5f 258/395: counsel-describe-symbol: autoload, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 71f5727 261/395: counsel.el (counsel--git-grep-index): Don't error on null buffer-file-name, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 84efa3a 262/395: Ensure counsel--git-grep-index returns non-nil, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 6eda8fa 254/395: Fix recent ivy-auto-shrink-minibuffer-alist typo, Basil L. Contovounesios, 2021/02/25