branch: master
commit 8d38a898f23b3105c5d098f0cfb6c3383547e394
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
avy.el (avy-goto-char-timer): Obey avy-styles-alist
Fixes #67
---
avy.el | 15 ++++++++-------
doc/Changelog.org | 10 +++++++---
2 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/avy.el b/avy.el
index ed55b1c..a8a6a25 100644
--- a/avy.el
+++ b/avy.el
@@ -934,13 +934,14 @@ The window scope is determined by `avy-all-windows' (ARG
negates it)."
(interactive "P")
(let ((c1 (read-char "char 1: "))
(c2 (read-char "char 2: " nil avy-timeout-seconds)))
- (avy--generic-jump
- (regexp-quote
- (if c2
- (string c1 c2)
- (string c1)))
- arg
- avy-style)))
+ (avy--with-avy-keys avy-goto-char-timer
+ (avy--generic-jump
+ (regexp-quote
+ (if c2
+ (string c1 c2)
+ (string c1)))
+ arg
+ avy-style))))
(define-obsolete-variable-alias
'avy-goto-char-style 'avy-style "0.1.0"
diff --git a/doc/Changelog.org b/doc/Changelog.org
index 19a0ad2..7dbcdf1 100644
--- a/doc/Changelog.org
+++ b/doc/Changelog.org
@@ -164,9 +164,9 @@ See [[https://github.com/abo-abo/avy/issues/57][#57]].
See the [[https://github.com/abo-abo/avy/wiki/custom-commands][the
custom-commands wiki page]] and
[[https://github.com/abo-abo/avy/issues/55][#55]].
*** New face setup
-
-New variable =avy-lead-faces= will determine the faces used to color the
current decision depth you're in.
-For example, if to select a particular candidate you need to press "abc":
+New variable =avy-lead-faces= will determine the faces used to color
+the current decision depth you're in. For example, if to select a
+particular candidate you need to press "abc":
- "a" will be highlighted with a face that corresponds to depth 3
- "b" will be highlighted with a face that corresponds to depth 2
@@ -205,3 +205,7 @@ Use this to restore the previous default behavior:
#+begin_src elisp
(setq avy-style 'pre)
#+end_src
+
+* trunk
+** Fixes
+*** =avy-goto-char-timer= obeys =avy-styles-alist=