[Top][All Lists]

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

[elpa] externals/consult af666be 1/2: Improve defcustom

From: ELPA Syncer
Subject: [elpa] externals/consult af666be 1/2: Improve defcustom
Date: Thu, 22 Jul 2021 08:57:08 -0400 (EDT)

branch: externals/consult
commit af666bef7d035b117c121b128bcb350fcb063195
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Improve defcustom
 consult.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/consult.el b/consult.el
index 1afd7b4..b444318 100644
--- a/consult.el
+++ b/consult.el
@@ -280,7 +280,10 @@ command options."
 (defcustom consult-preview-key 'any
   "Preview trigger keys, can be nil, 'any, a single key or a list of keys."
-  :type '(choice (const any) (const nil) key-sequence (repeat key-sequence)))
+  :type '(choice (const :tag "Any key" any)
+                 (const :tag "No preview" nil)
+                 (key-sequence :tag "Key")
+                 (repeat :tag "List of keys" key-sequence)))
 (defcustom consult-preview-max-size 10485760
   "Files larger than this byte limit are not previewed."

reply via email to

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