[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 9e61f78 006/110: avy.el: Improve defcustom :type
From: |
Oleh Krehel |
Subject: |
[elpa] master 9e61f78 006/110: avy.el: Improve defcustom :type |
Date: |
Sat, 11 May 2019 10:15:33 -0400 (EDT) |
branch: master
commit 9e61f786d80c66a54c2867f94049c34f59f15383
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
avy.el: Improve defcustom :type
* avy.el (avy-keys-alist):
(avy-styles-alist): Add 'function as a possible key-type.
---
avy.el | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/avy.el b/avy.el
index 78e5d63..a94b87b 100644
--- a/avy.el
+++ b/avy.el
@@ -63,7 +63,8 @@ non-printing key like an arrow key (left, right, up, down).
For
non-printing keys, a corresponding entry in
`avy-key-to-char-alist' must exist in order to visualize the key
in the avy overlays."
- :type '(repeat :tag "Keys" (choice (character :tag "char")
+ :type '(repeat :tag "Keys" (choice
+ (character :tag "char")
(symbol :tag "non-printing key"))))
(defcustom avy-keys-alist nil
@@ -80,7 +81,8 @@ in the avy overlays."
(const avy-goto-word-1)
(const avy-copy-line)
(const avy-copy-region)
- (const avy-move-line))
+ (const avy-move-line)
+ (function :tag "Other command"))
:value-type (repeat :tag "Keys" character)))
(defcustom avy-style 'at-full
@@ -108,7 +110,8 @@ If the commands isn't on the list, `avy-style' is used."
(const avy-goto-word-1)
(const avy-copy-line)
(const avy-copy-region)
- (const avy-move-line))
+ (const avy-move-line)
+ (function :tag "Other command"))
:value-type (choice
(const :tag "Pre" pre)
(const :tag "At" at)
- [elpa] master 33af738 017/110: avy.el (avy-goto-word-1-above): Add, (continued)
- [elpa] master 33af738 017/110: avy.el (avy-goto-word-1-above): Add, Oleh Krehel, 2019/05/11
- [elpa] master 105efc8 037/110: avy.el (avy-action-copy): Copy line for avy-goto-line, Oleh Krehel, 2019/05/11
- [elpa] master 4e4c488 020/110: Add avy-linum-mode, Oleh Krehel, 2019/05/11
- [elpa] master d644be1 016/110: avy.el (avy-goto-char-2-above): Simplify, Oleh Krehel, 2019/05/11
- [elpa] master 4dcf0a9 018/110: avy.el (avy-goto-char-2): Translate "RET" to "C-j", Oleh Krehel, 2019/05/11
- [elpa] master ba950a0 015/110: avy.el (avy-goto-char-2-above): Add, Oleh Krehel, 2019/05/11
- [elpa] master 58bc417 014/110: Escape regex metacharacters for standard isearch, Oleh Krehel, 2019/05/11
- [elpa] master 2e3c2f7 013/110: Add new command `avy-move-region', Oleh Krehel, 2019/05/11
- [elpa] master 85a384a 012/110: Add char at window start for avy-goto-subword-0, Oleh Krehel, 2019/05/11
- [elpa] master a80f95c 007/110: Add "X" dispatch to kill a word without moving there, Oleh Krehel, 2019/05/11
- [elpa] master 9e61f78 006/110: avy.el: Improve defcustom :type,
Oleh Krehel <=
- [elpa] master 5ba3602 009/110: Assign avy-action-ispell to "i", Oleh Krehel, 2019/05/11
- [elpa] master 53706d2 011/110: avy.el (avy-all-windows-alt): Change the default to nil, Oleh Krehel, 2019/05/11
- [elpa] master 4c072be 010/110: README.md (avy-goto-char-timer): Add entry, Oleh Krehel, 2019/05/11
- [elpa] master c0db364 008/110: Add avy-action-ispell to avy.el, Oleh Krehel, 2019/05/11
- [elpa] master 3b75d95 005/110: Make "C-g" and "ESC" fail silently when reading char, Oleh Krehel, 2019/05/11
- [elpa] master 5f76c9d 004/110: avy.el (avy-goto-word-0-regexp): New defcustom, Oleh Krehel, 2019/05/11
- [elpa] master 5f6dd00 001/110: avy.el (avy-action-copy): Save window and frame, Oleh Krehel, 2019/05/11
- [elpa] master 16370f9 003/110: avy.el (avy--goto): Remove obsolete alias, Oleh Krehel, 2019/05/11
- [elpa] master 730581a 002/110: avy.el: Fix compilation warning, Oleh Krehel, 2019/05/11