avy.el (avy-translate-char-function): Fixup doc

This commit is contained in:
Oleh Krehel 2015-06-08 13:04:31 +02:00
parent 236293a401
commit 054390f5f6

12
avy.el
View File

@ -135,15 +135,9 @@ When nil, punctuation chars will not be matched.
Typically, these modes don't use the text representation.") Typically, these modes don't use the text representation.")
(defvar avy-translate-char-function #'identity (defvar avy-translate-char-function #'identity
"Function to translate user input key. This can be useful for "Function to translate user input key into another key.
adding mirror key. E.g. one can make SPACE an alternative of 'a', For example, to make SPC do the same as ?a, use
by adding: \(lambda (c) (if (= c 32) ?a c)).")
\(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'.")
(defface avy-lead-face-0 (defface avy-lead-face-0
'((t (:foreground "white" :background "#4f57f9"))) '((t (:foreground "white" :background "#4f57f9")))