summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-10-03 07:14:57 +0300
committerThanos Apollo <[email protected]>2023-10-03 07:15:23 +0300
commitc46788281118a538d38306eca117060a26eb826f (patch)
tree95ab5696fa369181ff5102744ccf216170d4fba4
parent4d6e07800791ddaa7e8cfdf57d0e8dfee9d9e476 (diff)
yeetube: remove :safe keyword
Since we are using :type this is not needed. Pointed it out by Protesilaos Stavrou(Prot)
-rw-r--r--yeetube.el14
1 files changed, 5 insertions, 9 deletions
diff --git a/yeetube.el b/yeetube.el
index 9b2404c..74e84cf 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -42,7 +42,11 @@
(defcustom yeetube-results-limit 15
"Define a limit for search results."
:type 'number
- :safe #'numberp
+ :group 'yeetube)
+
+(defcustom yeetube-player #'yeetube-mpv
+ "Select media player function."
+ :type 'function
:group 'yeetube)
(defcustom yeetube-download-audio-format nil
@@ -52,19 +56,11 @@ If nil download output will be the default format.
Example Usage:
(setf yeetube-download-audio-format \"m4a\")"
:type 'string
- :safe #'stringp
- :group 'yeetube)
-
-(defcustom yeetube-player #'yeetube-mpv
- "Select media player function."
- :type 'function
- :safe #'function
:group 'yeetube)
(defcustom yeetube-download-directory "~/Downloads"
"Default directory to downlaod videos."
:type 'string
- :safe #'stringp
:group 'yeetube)