mirror of
https://github.com/abo-abo/avy.git
synced 2026-02-04 06:42:26 +00:00
14
avy.el
14
avy.el
@@ -1308,8 +1308,18 @@ The window scope is determined by `avy-all-windows' (ARG negates it)."
|
|||||||
The window scope is determined by `avy-all-windows'.
|
The window scope is determined by `avy-all-windows'.
|
||||||
When ARG is non-nil, do the opposite of `avy-all-windows'.
|
When ARG is non-nil, do the opposite of `avy-all-windows'.
|
||||||
BEG and END narrow the scope where candidates are searched."
|
BEG and END narrow the scope where candidates are searched."
|
||||||
(interactive (list (read-char "char 1: " t)
|
(interactive (list (let ((c1 (read-char "char 1: " t)))
|
||||||
(read-char "char 2: " t)
|
(if (memq c1 '(? ?\b))
|
||||||
|
(keyboard-quit)
|
||||||
|
c1))
|
||||||
|
(let ((c2 (read-char "char 2: " t)))
|
||||||
|
(cond ((eq c2 ?)
|
||||||
|
(keyboard-quit))
|
||||||
|
((memq c2 avy-del-last-char-by)
|
||||||
|
(keyboard-escape-quit)
|
||||||
|
(call-interactively 'avy-goto-char-2))
|
||||||
|
(t
|
||||||
|
c2)))
|
||||||
current-prefix-arg
|
current-prefix-arg
|
||||||
nil nil))
|
nil nil))
|
||||||
(when (eq char1 ?
|
(when (eq char1 ?
|
||||||
|
|||||||
Reference in New Issue
Block a user