[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 3716cd0 03/36: avy-jump.el (avy-goto-subword-0): Update ca
From: |
Oleh Krehel |
Subject: |
[elpa] master 3716cd0 03/36: avy-jump.el (avy-goto-subword-0): Update candidate order |
Date: |
Tue, 19 May 2015 12:38:07 +0000 |
branch: master
commit 3716cd0b0253ec352a95e253eb6cea0144557d20
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
avy-jump.el (avy-goto-subword-0): Update candidate order
Re #27
---
avy-jump.el | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/avy-jump.el b/avy-jump.el
index ad1e125..125c821 100644
--- a/avy-jump.el
+++ b/avy-jump.el
@@ -419,17 +419,19 @@ should return true."
(let ((case-fold-search nil)
candidates)
(avy-dowindows arg
- (let ((ws (window-start)))
+ (let ((ws (window-start))
+ window-cands)
(save-excursion
(goto-char (window-end (selected-window) t))
(subword-backward)
(while (> (point) ws)
(when (or (null predicate)
(and predicate (funcall predicate)))
- (push (cons (point) (selected-window)) candidates))
- (subword-backward)))))
+ (push (cons (point) (selected-window)) window-cands))
+ (subword-backward)))
+ (setq candidates (nconc candidates window-cands))))
(avy--goto
- (avy--process (nreverse candidates) (avy--style-fn avy-style))))))
+ (avy--process candidates (avy--style-fn avy-style))))))
;;;###autoload
(defun avy-goto-subword-1 (&optional arg)
- [elpa] master updated (b525e2d -> e559638), Oleh Krehel, 2015/05/19
- [elpa] master c2e7de3 01/36: avy-jump.el (avy-goto-subword-0): Add nreverse, Oleh Krehel, 2015/05/19
- [elpa] master 05e5c4d 06/36: README.md: mention avy-goto-line -> goto-line, Oleh Krehel, 2015/05/19
- [elpa] master 755c25a 09/36: Add a new face for 'at-full style, Oleh Krehel, 2015/05/19
- [elpa] master cd8e626 02/36: avy-jump.el (avy-dowindows): Simplify, Oleh Krehel, 2015/05/19
- [elpa] master 3716cd0 03/36: avy-jump.el (avy-goto-subword-0): Update candidate order,
Oleh Krehel <=
- [elpa] master dfbf0e2 13/36: targets/avy-init.el: Update, Oleh Krehel, 2015/05/19
- [elpa] master 60dd24b 12/36: Update avy-jump mentions in the README, Oleh Krehel, 2015/05/19
- [elpa] master a08b049 04/36: Fix jumping to newlines with at-full style, Oleh Krehel, 2015/05/19
- [elpa] master eed8f6f 15/36: avy.el (avy--regex-candidates): Add optional group arg, Oleh Krehel, 2015/05/19
- [elpa] master 0d83599 16/36: Update group name, Oleh Krehel, 2015/05/19
- [elpa] master ca69b1f 14/36: Add debug declarations, Oleh Krehel, 2015/05/19
- [elpa] master a53ffb7 05/36: Allow to break from `avy-goto-line' into `goto-line', Oleh Krehel, 2015/05/19
- [elpa] master ca302b4 08/36: targets/avy-init.el: Move, Oleh Krehel, 2015/05/19
- [elpa] master b0512fc 21/36: avy.el (avy--overlay-at): Use `avy--overlay-offset', Oleh Krehel, 2015/05/19
- [elpa] master 04d26c4 07/36: avy-jump.el (avy-case-fold-search): New defcustom, Oleh Krehel, 2015/05/19