mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-13 13:33:03 +00:00
avy.el (avy-translate-char-function): Fixup doc
This commit is contained in:
parent
236293a401
commit
054390f5f6
12
avy.el
12
avy.el
@ -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")))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user