mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-13 21:33:05 +00:00
avy-jump.el (avy--regex-candidates): Update arglist
* avy-jump.el (avy--regex-candidates): Remove the optional window arg.
This commit is contained in:
parent
32003515c8
commit
e49f6d02eb
@ -126,8 +126,8 @@ POS is either a position or (BEG . END)."
|
|||||||
(setq avy--overlays-back nil)
|
(setq avy--overlays-back nil)
|
||||||
(avy--remove-leading-chars))
|
(avy--remove-leading-chars))
|
||||||
|
|
||||||
(defun avy--regex-candidates (regex &optional wnd beg end pred)
|
(defun avy--regex-candidates (regex &optional beg end pred)
|
||||||
"Return all elements that match REGEX in WND.
|
"Return all elements that match REGEX.
|
||||||
Each element of the list is ((BEG . END) . WND)
|
Each element of the list is ((BEG . END) . WND)
|
||||||
When PRED is non-nil, it's a filter for matching point positions."
|
When PRED is non-nil, it's a filter for matching point positions."
|
||||||
(let (candidates)
|
(let (candidates)
|
||||||
@ -245,8 +245,7 @@ STYLE determines the leading char overlay style."
|
|||||||
avy-all-windows)))
|
avy-all-windows)))
|
||||||
(avy--goto
|
(avy--goto
|
||||||
(avy--process
|
(avy--process
|
||||||
(avy--regex-candidates
|
(avy--regex-candidates regex)
|
||||||
regex)
|
|
||||||
(avy--style-fn style)))))
|
(avy--style-fn style)))))
|
||||||
|
|
||||||
(defcustom avy-goto-char-style 'pre
|
(defcustom avy-goto-char-style 'pre
|
||||||
|
Loading…
x
Reference in New Issue
Block a user