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

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

[nongnu] elpa/webpaste 0546284 176/298: Added types to some defcustom mi


From: ELPA Syncer
Subject: [nongnu] elpa/webpaste 0546284 176/298: Added types to some defcustom missing it
Date: Thu, 9 Dec 2021 19:00:09 -0500 (EST)

branch: elpa/webpaste
commit 0546284afb607e317361fc653db0879939f9d908
Author: Elis Axelsson <elis.axelsson@gmail.com>
Commit: Elis Axelsson <elis.axelsson@gmail.com>

    Added types to some defcustom missing it
---
 webpaste.el | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/webpaste.el b/webpaste.el
index e443ded..b61ee81 100644
--- a/webpaste.el
+++ b/webpaste.el
@@ -56,22 +56,26 @@ default to all providers in order defined in 
‘webpaste-providers’ list."
 
 (defcustom webpaste/paste-confirmation nil
   "Prompt for a yes/no confirmation before attempting to paste a region or 
buffer."
-  :group 'webpaste)
+  :group 'webpaste
+  :type 'boolean)
 
 
 (defcustom webpaste/open-in-browser nil
   "Open recently created pastes in a browser.
-
 This uses `browse-url-generic' to open URLs."
-  :group 'webpaste)
+  :group 'webpaste
+  :type 'boolean)
 
 (defcustom webpaste/copy-to-clipboard nil
-  "Uses simpleclip to send the provider's returned URL to the clipboard"
-  :group 'webpaste)
+  "Uses simpleclip to send the provider's returned URL to the clipboard.
+This uses `simpleclip-set-contents' to copy to clipboard."
+  :group 'webpaste
+  :type 'boolean)
 
 (defcustom webpaste/add-to-killring t
-  "Add the returned URL to the killring after paste"
-  :group 'webpaste)
+  "Add the returned URL to the killring after paste."
+  :group 'webpaste
+  :type 'boolean)
 
 
 
@@ -399,7 +403,7 @@ return it to the user.")
   ;; Send RETURNED-URL to the clipboard using simpleclip
   (when webpaste/copy-to-clipboard
     (simpleclip-set-contents returned-url)
-    (message "URL copied to clipboard. "))
+    (message "URL copied to clipboard."))
 
   ;; Add RETURNED-URL to killring for easy pasting
   (when webpaste/add-to-killring



reply via email to

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