[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 16482e0 089/110: avy.el (avy--generic-jump): Remove `style
From: |
Oleh Krehel |
Subject: |
[elpa] master 16482e0 089/110: avy.el (avy--generic-jump): Remove `style' arg |
Date: |
Sat, 11 May 2019 10:15:51 -0400 (EDT) |
branch: master
commit 16482e0012cb6aeefca53ac2672c9f7631e85faf
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
avy.el (avy--generic-jump): Remove `style' arg
---
avy.el | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/avy.el b/avy.el
index e5e3eaa..f5110fd 100644
--- a/avy.el
+++ b/avy.el
@@ -1157,7 +1157,7 @@ exist."
(words #'avy--overlay-at-full)
(t (error "Unexpected style %S" style))))
-(defun avy--generic-jump (regex window-flip style &optional beg end)
+(defun avy--generic-jump (regex window-flip &optional beg end)
"Jump to REGEX.
The window scope is determined by `avy-all-windows'.
When WINDOW-FLIP is non-nil, do the opposite of `avy-all-windows'.
@@ -1183,8 +1183,7 @@ The window scope is determined by `avy-all-windows' (ARG
negates it)."
(if (= 13 char)
"\n"
(regexp-quote (string char)))
- arg
- avy-style)))
+ arg)))
;;;###autoload
(defun avy-goto-char-in-line (char)
@@ -1194,7 +1193,6 @@ The window scope is determined by `avy-all-windows' (ARG
negates it)."
(avy--generic-jump
(regexp-quote (string char))
avy-all-windows
- avy-style
(line-beginning-position)
(line-end-position))))
@@ -1216,7 +1214,6 @@ BEG and END narrow the scope where candidates are
searched."
(avy--generic-jump
(regexp-quote (string char1 char2))
arg
- avy-style
beg end)))
;;;###autoload
@@ -1270,7 +1267,7 @@ When ARG is non-nil, do the opposite of `avy-all-windows'.
BEG and END narrow the scope where candidates are searched."
(interactive "P")
(avy-with avy-goto-word-0
- (avy--generic-jump avy-goto-word-0-regexp arg avy-style beg end)))
+ (avy--generic-jump avy-goto-word-0-regexp arg beg end)))
(defun avy-goto-word-0-above (arg)
"Jump to a word start between window start and point.
@@ -1310,7 +1307,7 @@ When SYMBOL is non-nil, jump to symbol start instead of
word start."
(concat
(if symbol "\\_<" "\\b")
str)))))
- (avy--generic-jump regex arg avy-style beg end))))
+ (avy--generic-jump regex arg beg end))))
;;;###autoload
(defun avy-goto-word-1-above (char &optional arg)
@@ -2025,7 +2022,7 @@ The window scope is determined by `avy-all-windows' (ARG
negates it)."
(marker (save-excursion
(avy-with avy-goto-line
(unless (eq 't (avy--generic-jump (rx bol (1+ "*") (1+
space))
- nil avy-style))
+ nil))
;; `avy--generic-jump' returns t when aborted with C-g.
(point-marker)))))
(filename (buffer-file-name (or (buffer-base-buffer (marker-buffer
marker))
- [elpa] master 118a3d6 093/110: Update readme.md: add melpa badges, (continued)
- [elpa] master 118a3d6 093/110: Update readme.md: add melpa badges, Oleh Krehel, 2019/05/11
- [elpa] master 9a15d1f 103/110: avy.el (avy-show-dispatch-help): Add and bind to "?", Oleh Krehel, 2019/05/11
- [elpa] master 74501e1 094/110: avy.el: More fixes to org-toggle-link-display, Oleh Krehel, 2019/05/11
- [elpa] master 8db2759 099/110: Change avy--process to accept cleanup function, Oleh Krehel, 2019/05/11
- [elpa] master 7d73cee 100/110: avy.el: Use avy-process instead of avy--process, Oleh Krehel, 2019/05/11
- [elpa] master fd0101e 101/110: avy.el (avy-push-mark): Turn off message, Oleh Krehel, 2019/05/11
- [elpa] master e802510 098/110: avy.el (avy-jump): New API, don't use avy--generic-jump, Oleh Krehel, 2019/05/11
- [elpa] master 7cfe11e 074/110: Added ability to display avy candidates from bottom to top, Oleh Krehel, 2019/05/11
- [elpa] master 8606a89 072/110: avy.el (avy--process): Remove redundant copy-sequence, Oleh Krehel, 2019/05/11
- [elpa] master 002b8f3 091/110: avy.el (avy--visible-p): Add to fix org-toggle-link-display, Oleh Krehel, 2019/05/11
- [elpa] master 16482e0 089/110: avy.el (avy--generic-jump): Remove `style' arg,
Oleh Krehel <=
- [elpa] master 909483e 090/110: avy.el (avy--process): Make `overlay-fn' arg optional, Oleh Krehel, 2019/05/11
- [elpa] master 24b5137 087/110: Ignore mistyping when no candidates available, Oleh Krehel, 2019/05/11
- [elpa] master c4e2d50 077/110: avy.el: avy-goto-char will now display shortest overlays for cands near point, Oleh Krehel, 2019/05/11
- [elpa] master 1de6233 076/110: Add avy-goto-end-of-line, Oleh Krehel, 2019/05/11
- [elpa] master c2e2a4a 083/110: avy.el (avy--read-candidates): Custom keys for deleting last read char, Oleh Krehel, 2019/05/11
- [elpa] master 4f1b8a1 086/110: avy.el: Fix compiler warnings, Oleh Krehel, 2019/05/11
- [elpa] master e7c0fc0 088/110: avy.el (avy-pre-action): New defvar, Oleh Krehel, 2019/05/11
- [elpa] master bcc0cb0 085/110: avy.el (avy-org-refile-as-child): Don't refile when avy aborted, Oleh Krehel, 2019/05/11
- [elpa] master 6331b7a 071/110: avy.el (avy--process): Fix avy-goto-line for empty buffer, Oleh Krehel, 2019/05/11
- [elpa] master fd7b929 078/110: Add option to display an indented goto line overlay, Oleh Krehel, 2019/05/11