[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 9470e76 09/12: Avoid sorting org refile candidates
From: |
Oleh Krehel |
Subject: |
[elpa] master 9470e76 09/12: Avoid sorting org refile candidates |
Date: |
Thu, 23 Apr 2015 18:01:58 +0000 |
branch: master
commit 9470e76e1af2f9a600f715eb99d84e8c8645fd7a
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
Avoid sorting org refile candidates
* ivy.el (ivy-read): Update.
---
ivy.el | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/ivy.el b/ivy.el
index 55a6152..97cdb41 100644
--- a/ivy.el
+++ b/ivy.el
@@ -465,9 +465,10 @@ When SORT is t, refer to `ivy-sort-functions-alist' for
sorting."
(when (and (setq sort-fn (cdr sort-fn))
(not (eq collection 'read-file-name-internal)))
(setq coll (cl-sort coll sort-fn)))
- (if (and (setq sort-fn (cdr (assoc t ivy-sort-functions-alist)))
- (<= (length coll) ivy-sort-max-size))
- (setq coll (cl-sort (copy-sequence coll) sort-fn)))))
+ (unless (eq history 'org-refile-history)
+ (if (and (setq sort-fn (cdr (assoc t ivy-sort-functions-alist)))
+ (<= (length coll) ivy-sort-max-size))
+ (setq coll (cl-sort (copy-sequence coll) sort-fn))))))
(when preselect
(unless (or require-match
(member preselect coll))
- [elpa] master updated (f9b63e4 -> c10ba4b), Oleh Krehel, 2015/04/23
- [elpa] master 444f57e 01/12: ivy.el (ivy-done): Don't expand globs, Oleh Krehel, 2015/04/23
- [elpa] master 013fe04 02/12: swiper.el (swiper--ivy): Check for stand-alone ivy, Oleh Krehel, 2015/04/23
- [elpa] master 7032df7 06/12: counsel.el (counsel-git-grep): Fixup, Oleh Krehel, 2015/04/23
- [elpa] master c3e38fb 07/12: Remove globbing heuristics for file name completion, Oleh Krehel, 2015/04/23
- [elpa] master 886d908 08/12: Exclude jabber-chat-mode from font-lock, Oleh Krehel, 2015/04/23
- [elpa] master 9470e76 09/12: Avoid sorting org refile candidates,
Oleh Krehel <=
- [elpa] master cf3ac8f 04/12: ivy.el (ivy-done): Update wrt globs, Oleh Krehel, 2015/04/23
- [elpa] master 725e12a 11/12: ivy.el (Info-current-file): Declare, Oleh Krehel, 2015/04/23
- [elpa] master 37b7d39 03/12: swiper.el (swiper-query-replace): Fix, Oleh Krehel, 2015/04/23
- [elpa] master a70b734 05/12: ivy.el (ivy-backward-delete-char): Expand `ivy--directory', Oleh Krehel, 2015/04/23
- [elpa] master c10ba4b 12/12: Merge commit '725e12a51e837ed75361f9f2258a887cacb120cd' from swiper, Oleh Krehel, 2015/04/23
- [elpa] master 9b315e8 10/12: Use "//" to move to root instead of "/" as before, Oleh Krehel, 2015/04/23