[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-hydra dd8f519 206/395: Fix ivy-completion-in-region
From: |
Basil L. Contovounesios |
Subject: |
[elpa] externals/ivy-hydra dd8f519 206/395: Fix ivy-completion-in-region return value |
Date: |
Thu, 25 Feb 2021 08:32:03 -0500 (EST) |
branch: externals/ivy-hydra
commit dd8f519cf15cbce66e727ccf3e8d8d3e2a6bd515
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Oleh Krehel <ohwoeowho@gmail.com>
Fix ivy-completion-in-region return value
ivy.el (ivy-completion-in-region): Return non-nil on valid
completion, even if there was only a single candidate, as per the
docstring of completion-in-region.
Fixes #2521
---
ivy.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/ivy.el b/ivy.el
index 9360857..343a3b5 100644
--- a/ivy.el
+++ b/ivy.el
@@ -2713,8 +2713,10 @@ See `completion-in-region' for further information."
(goto-char ivy-completion-beg)
(when initial
(insert initial))))
- :caller 'ivy-completion-in-region)
- t))))))
+ :caller 'ivy-completion-in-region)))
+ ;; Return value should be non-nil on valid completion;
+ ;; see `completion-in-region'.
+ t))))
(defun ivy-completion-in-region-prompt ()
"Prompt function for `ivy-completion-in-region'.
- [elpa] externals/ivy-hydra 9e7f21a 078/395: ivy.el (ivy-completing-read): Fix require-match arg being symbol, (continued)
- [elpa] externals/ivy-hydra 9e7f21a 078/395: ivy.el (ivy-completing-read): Fix require-match arg being symbol, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 3c6e5da 091/395: Remove counsel--grep-mode-occur, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra e22c8df 103/395: counsel.el (counsel-git-cands): Avoid an extra call to counsel-git-root, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 044f82c 106/395: ivy.el (ivy-set-text): Add, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 0a08436 169/395: ivy.el (ivy--set-candidates): Delete duplicates only for extra sources, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 22422dd 219/395: counsel.el (counsel-fonts): Add a custom transformer with font sample, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 7b3b672 230/395: counsel.el (counsel-company): Fix difference between company-common and company-prefix, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra d3c6cc1 205/395: Adapt tests to when wgrep is not installed, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 5ac1c97 190/395: ivy.el (ivy-dispatching-call): Fix ivy-text being "" for ivy-read-action-ivy, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 7abf656 192/395: Allow counsel-cd to run even if recursive minibuffers are not enabled, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra dd8f519 206/395: Fix ivy-completion-in-region return value,
Basil L. Contovounesios <=
- [elpa] externals/ivy-hydra 50b02a0 222/395: Remove unused lexical variable in recent test, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra a5c6ef9 231/395: counsel-kmacro: Create separator with defcustom instead of defvar., Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 4f6bd9e 210/395: .dir-locals.el (outline-regexp): "^(" is not an outline start, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 334d08c 227/395: ivy.el (ivy--update-history): Use ivy-text if it's not "", Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 24e68ea 225/395: counsel.el (counsel-git-log-cmd): Disable coloring., Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra cfb395e 239/395: counsel.el (counsel--sync-sentinel-on-exit): Simplify, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra f4a7d87 241/395: Fix recent addition of caddr in counsel.el, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra b91a4e2 238/395: counsel.el (counsel--git-grep-index): Add, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 781cbbc 255/395: Advertise ivy-string< over string-lessp, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 0e4a55f 242/395: ivy.el (ivy--preselect-index): Don't return nil, Basil L. Contovounesios, 2021/02/25