diff options
author | Thanos Apollo <[email protected]> | 2023-07-20 14:56:25 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-07-20 14:56:25 +0300 |
commit | f987a51a111d670a56b9f65cb405c83fd16f76ca (patch) | |
tree | a72f50eb5aa3e6970717dcf0dc3d0a664497d6fc /yeetube.el | |
parent | bd82655687325f159fcfc74e97ca854ee772aa65 (diff) |
Add yeetube-version
Add version message function for debugging/support issues.
Diffstat (limited to 'yeetube.el')
-rw-r--r-- | yeetube.el | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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) |