aboutsummaryrefslogtreecommitdiffstats
path: root/yeetube.el
diff options
context:
space:
mode:
Diffstat (limited to 'yeetube.el')
-rw-r--r--yeetube.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/yeetube.el b/yeetube.el
index 9a7ae01..9863dc7 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -6,6 +6,8 @@
;; Keywords: extensions youtube videos invidious
;; URL: https://git.sr.ht/~thanosapollo/yeetube.el
;; Version: 1.3.3
+(defvar yeetube--version '1.3.3)
+
;; Package-Requires: ((emacs "27.2"))
;; This program is free software; you can redistribute it and/or modify
@@ -441,6 +443,12 @@ OPERATION & WHERE are required to work with ='add-variable-watcher."
(goto-char (mark))))
+(defun yeetube-version ()
+ "Show Yeetube Version."
+ (interactive)
+ (message "Yeetube Version: %s" yeetube--version))
+
+
;; Variable to watch
(add-variable-watcher 'yeetube-download-directory #'yeetube-update-info)
(add-variable-watcher 'yeetube-player #'yeetube-update-info)