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

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

[nongnu] elpa/webpaste c6ea45c 045/298: Specify type attribute of custom


From: ELPA Syncer
Subject: [nongnu] elpa/webpaste c6ea45c 045/298: Specify type attribute of custom variable
Date: Thu, 9 Dec 2021 18:59:41 -0500 (EST)

branch: elpa/webpaste
commit c6ea45cd202b1510fa5c24adebf3a20694549f8a
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>

    Specify type attribute of custom variable
---
 webpaste.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/webpaste.el b/webpaste.el
index 0e24f00..393c5f0 100644
--- a/webpaste.el
+++ b/webpaste.el
@@ -47,7 +47,8 @@ provider priority for which order which provider should be 
tried when used."
   "Define provider priority of which providers to try in which order.
 This variable should be a list of strings and if it isn't defined it will
 default to all providers in order defined in ‘webpaste-providers’ list."
-  :group 'webpaste)
+  :group 'webpaste
+  :type '(repeat string))
 
 
 (defvar webpaste-tested-providers ()
@@ -111,7 +112,9 @@ each run.")
 Consists of provider name and lambda function to do the actuall call to the
 provider.  The lamda should call ‘webpaste-return-url’ with resulting url to
 return it to the user."
-  :group 'webpaste)
+  :group 'webpaste
+  :type  '(alist :key-type (string :tag "provider name")
+                 :value-type (function :tag "lambda function to the 
provider")))
 
 
 ;; Function we use to return the RETURNED-URL from the service



reply via email to

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