aboutsummaryrefslogtreecommitdiffstats
path: root/yeetube.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-03-03 22:47:06 +0200
committerThanos Apollo <[email protected]>2024-03-03 22:47:06 +0200
commit0c2171c105f1b62b4aa6cf4ac961c14d6672dfd0 (patch)
treec0209d67dd3884009aa0d0fd330ccb2457e36616 /yeetube.el
parent0e028d0a3fc1e86288946d9cc59325e515680b8b (diff)
defcustom(s): Improve 'customize' interface interactions
- Use radio instead of choice for yeetube-download-audio-format - Add None tag for yeetube-default-sort-column - Fix typos
Diffstat (limited to 'yeetube.el')
-rw-r--r--yeetube.el29
1 files changed, 15 insertions, 14 deletions
diff --git a/yeetube.el b/yeetube.el
index 3e77c48..f30ba29 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -47,7 +47,7 @@
(require 'yeetube-mpv)
(defgroup yeetube nil
- "Youtube Front-end."
+ "Youtube Front-End."
:group 'external
:prefix "yeetube-")
@@ -62,16 +62,16 @@
:group 'yeetube)
(defcustom yeetube-download-audio-format nil
- "Specify the preferred audio FORMAT for audio only downloads."
- :type '(choice (const :tag "Default" nil)
- (const :tag "AAC" "aac")
- (const :tag "ALAC" "alac")
- (const :tag "FLAC" "flac")
- (const :tag "M4A" "m4a")
- (const :tag "MP3" "mp3")
- (const :tag "OPUS" "opus")
- (const :tag "Vorbis" "vorbis")
- (const :tag "WAV" "wav"))
+ "Download videos as specified audio only formats."
+ :type '(radio (const :tag "None" nil)
+ (const :tag "AAC" "aac")
+ (const :tag "ALAC" "alac")
+ (const :tag "FLAC" "flac")
+ (const :tag "M4A" "m4a")
+ (const :tag "MP3" "mp3")
+ (const :tag "OPUS" "opus")
+ (const :tag "Vorbis" "vorbis")
+ (const :tag "WAV" "wav"))
:group 'yeetube)
(defcustom yeetube-download-directory "~/Downloads"
@@ -80,7 +80,7 @@
:group 'yeetube)
(defcustom yeetube-filter "Relevance"
- "Sorty search results for value.
+ "Sort search results for value.
Valid options include:
- \"Relevance\"
- \"Date\"
@@ -92,8 +92,9 @@ Valid options include:
(const "Rating")))
(defcustom yeetube-default-sort-column nil
- "Which column to sort the search results table."
- :type '(radio (const "Title")
+ "Column to sort the search results table."
+ :type '(radio (const :tag "None" nil)
+ (const "Title")
(const "Views")
(const "Duration")
(const "Channel"))