branch: master
commit 054390f5f6c73b36a7cf2a47ae95077feaaacc3f
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    avy.el (avy-translate-char-function): Fixup doc
---
 avy.el |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/avy.el b/avy.el
index 151916f..01acb2c 100644
--- a/avy.el
+++ b/avy.el
@@ -135,15 +135,9 @@ When nil, punctuation chars will not be matched.
 Typically, these modes don't use the text representation.")
 
 (defvar avy-translate-char-function #'identity
-  "Function to translate user input key. This can be useful for
-adding mirror key. E.g. one can make SPACE an alternative of 'a',
-by adding:
-
-\(setq avy-translate-char-function
-      (lambda (c) (if (= c 32) ?a c)))
-
-to allow typing SPACE instead of character 'a' to jump to the location
-highlighted by 'a'.")
+  "Function to translate user input key into another key.
+For example, to make SPC do the same as ?a, use
+\(lambda (c) (if (= c 32) ?a c)).")
 
 (defface avy-lead-face-0
   '((t (:foreground "white" :background "#4f57f9")))

Reply via email to