[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 03ab827 07/57: Merge ivy--collection into ivy-last
From: |
Oleh Krehel |
Subject: |
[elpa] master 03ab827 07/57: Merge ivy--collection into ivy-last |
Date: |
Tue, 19 May 2015 14:21:21 +0000 |
branch: master
commit 03ab8272b49b5c8b6e0a7454bd31f7acb6fa4d83
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
Merge ivy--collection into ivy-last
* ivy.el (ivy--collection): Delete defvar.
(ivy-read): Update.
(ivy--exhibit): Update.
---
ivy.el | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/ivy.el b/ivy.el
index dae8e70..795aa9d 100644
--- a/ivy.el
+++ b/ivy.el
@@ -183,9 +183,6 @@ When non-nil, it should contain one %d.")
(defvar ivy--regex-function 'ivy--regex
"Current function for building a regex.")
-(defvar ivy--collection nil
- "Store the current collection function.")
-
(defvar Info-current-file)
;;* Commands
@@ -565,8 +562,6 @@ UNWIND is a lambda to call before exiting."
'ivy--regex))
(setq ivy--subexps 0)
(setq ivy--regexp-quote 'regexp-quote)
- (setq ivy--collection (and (functionp collection)
- collection))
(setq ivy--old-text "")
(setq ivy-text "")
(let (coll sort-fn)
@@ -919,7 +914,7 @@ Should be run via minibuffer `post-command-hook'."
(ivy--cd "/")))
(if (string-match "~$" ivy-text)
(ivy--cd (expand-file-name "~/")))))
- ((eq ivy--collection 'internal-complete-buffer)
+ ((eq (ivy-state-collection ivy-last) 'internal-complete-buffer)
(when (or (and (string-match "^ " ivy-text)
(not (string-match "^ " ivy--old-text)))
(and (string-match "^ " ivy--old-text)
- [elpa] master updated (e559638 -> 155f2a6), Oleh Krehel, 2015/05/19
- [elpa] master ca91c88 01/57: Add an option for out-of-order matching, Oleh Krehel, 2015/05/19
- [elpa] master 4ad1ab2 02/57: ivy.el (ivy-tab-space): New defcustom, Oleh Krehel, 2015/05/19
- [elpa] master 41bc3e8 03/57: Ignore case for "TAB", Oleh Krehel, 2015/05/19
- [elpa] master 2c39e10 04/57: "TAB" shouldn't delete input when no candidate, Oleh Krehel, 2015/05/19
- [elpa] master 2d7f287 09/57: Improve "TAB" interaction with `confirm-nonexistent-file-or-buffer', Oleh Krehel, 2015/05/19
- [elpa] master 03ab827 07/57: Merge ivy--collection into ivy-last,
Oleh Krehel <=
- [elpa] master dc219b3 12/57: Add counsel-load-library, Oleh Krehel, 2015/05/19
- [elpa] master 8b08cc0 08/57: ivy.el (ivy-done): Simplify and improve, Oleh Krehel, 2015/05/19
- [elpa] master cd083cc 18/57: Add swiper -> avy finalizer, Oleh Krehel, 2015/05/19
- [elpa] master f2a0966 16/57: Add ivy-partial: partial complete without exiting, Oleh Krehel, 2015/05/19
- [elpa] master 386184b 14/57: Merge ivy--update-fn into ivy-last, Oleh Krehel, 2015/05/19
- [elpa] master c5fce64 05/57: Make "TAB" switch directories properly, Oleh Krehel, 2015/05/19
- [elpa] master 6784185 17/57: Allow to use "^" in swiper, Oleh Krehel, 2015/05/19
- [elpa] master fb3fce9 13/57: Add parents using 'display for `counsel-load-library', Oleh Krehel, 2015/05/19
- [elpa] master 5601653 06/57: Require dired when completing file names, Oleh Krehel, 2015/05/19
- [elpa] master 4a7ba2f 15/57: Try to prevent the resize of minibuffer window, Oleh Krehel, 2015/05/19