mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-13 21:33:05 +00:00
parent
903e172517
commit
b2112e0fe9
15
avy-jump.el
15
avy-jump.el
@ -315,12 +315,15 @@ The window scope is determined by `avy-all-windows' (ARG negates it)."
|
|||||||
The window scope is determined by `avy-all-windows' (ARG negates it)."
|
The window scope is determined by `avy-all-windows' (ARG negates it)."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(let* ((str (string (read-char "char: ")))
|
(let* ((str (string (read-char "char: ")))
|
||||||
(regex (if (and avy-word-punc-regexp
|
(regex (cond ((string= str ".")
|
||||||
(string-match avy-word-punc-regexp str))
|
"\\.")
|
||||||
str
|
((and avy-word-punc-regexp
|
||||||
(concat
|
(string-match avy-word-punc-regexp str))
|
||||||
"\\b"
|
str)
|
||||||
str))))
|
(t
|
||||||
|
(concat
|
||||||
|
"\\b"
|
||||||
|
str)))))
|
||||||
(avy--generic-jump regex arg avy-goto-word-style)))
|
(avy--generic-jump regex arg avy-goto-word-style)))
|
||||||
|
|
||||||
(declare-function subword-backward "subword")
|
(declare-function subword-backward "subword")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user