emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master e49f6d0 01/20: avy-jump.el (avy--regex-candidates): Update


From: Oleh Krehel
Subject: [elpa] master e49f6d0 01/20: avy-jump.el (avy--regex-candidates): Update arglist
Date: Sat, 09 May 2015 11:57:48 +0000

branch: master
commit e49f6d02eb8985958bac8008f287ba990aaf07be
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    avy-jump.el (avy--regex-candidates): Update arglist
    
    * avy-jump.el (avy--regex-candidates): Remove the optional window arg.
---
 avy-jump.el |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/avy-jump.el b/avy-jump.el
index d6bb52e..b0a1ba8 100644
--- a/avy-jump.el
+++ b/avy-jump.el
@@ -126,8 +126,8 @@ POS is either a position or (BEG . END)."
   (setq avy--overlays-back nil)
   (avy--remove-leading-chars))
 
-(defun avy--regex-candidates (regex &optional wnd beg end pred)
-  "Return all elements that match REGEX in WND.
+(defun avy--regex-candidates (regex &optional beg end pred)
+  "Return all elements that match REGEX.
 Each element of the list is ((BEG . END) . WND)
 When PRED is non-nil, it's a filter for matching point positions."
   (let (candidates)
@@ -245,8 +245,7 @@ STYLE determines the leading char overlay style."
            avy-all-windows)))
     (avy--goto
      (avy--process
-      (avy--regex-candidates
-       regex)
+      (avy--regex-candidates regex)
       (avy--style-fn style)))))
 
 (defcustom avy-goto-char-style 'pre



reply via email to

[Prev in Thread] Current Thread [Next in Thread]