emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 054390f 16/24: avy.el (avy-translate-char-function): Fixup


From: Oleh Krehel
Subject: [elpa] master 054390f 16/24: avy.el (avy-translate-char-function): Fixup doc
Date: Thu, 25 Jun 2015 10:17:52 +0000

branch: master
commit 054390f5f6c73b36a7cf2a47ae95077feaaacc3f
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    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

[Prev in Thread] Current Thread [Next in Thread]